libdballe
9.11
|
Public Member Functions | |
Driver (dballe::sql::SQLiteConnection &conn) | |
std::unique_ptr< v7::Repinfo > | create_repinfo (v7::Transaction &tr) override |
Precompiled queries to manipulate the repinfo table. | |
std::unique_ptr< v7::Station > | create_station (v7::Transaction &tr) override |
Precompiled queries to manipulate the station table. | |
std::unique_ptr< v7::LevTr > | create_levtr (v7::Transaction &tr) override |
Precompiled queries to manipulate the levtr table. | |
std::unique_ptr< v7::StationData > | create_station_data (v7::Transaction &tr) override |
Precompiled queries to manipulate the data table. | |
std::unique_ptr< v7::Data > | create_data (v7::Transaction &tr) override |
Precompiled queries to manipulate the data table. | |
void | create_tables_v7 () override |
Create all missing tables for V7 databases. | |
void | delete_tables_v7 () override |
Delete all existing tables for V7 databases. | |
void | vacuum_v7 () override |
Perform database cleanup/maintenance on v7 databases. | |
![]() | |
Driver (sql::Connection &connection) | |
void | create_tables (db::Format format) |
Create all missing tables for a DB with the given format. | |
void | delete_tables (db::Format format) |
Delete all existing tables for a DB with the given format. | |
void | remove_all (db::Format format) |
Empty all tables for a DB with the given format. | |
virtual void | remove_all_v7 () |
Empty all tables for V7 databases, assuming that they exist, without touching the repinfo table. | |
Public Attributes | |
dballe::sql::SQLiteConnection & | conn |
![]() | |
sql::Connection & | connection |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< Driver > | create (dballe::sql::Connection &conn) |
Create a Driver for this connection. | |