|
static
ApplicationDefines::ResultValue | CreateDBTablesIfNotExist () |
| |
static
ApplicationDefines::ResultValue | AddColumnPlatformNameIfNeeded () |
| |
static
ApplicationDefines::ResultValue | ChangeInterchangeDepartureLineNumberToLineTextIfNeeded () |
| | ChangeInterchangeDepartureLineNumberToLineText - method changes column DATABASE_TABLE_INTERCHANGE_DEPARTURE_COLUMN_LINE from int to text. More...
|
| |
static
ApplicationDefines::ResultValue | GetInterchangeDepartures (const int lineNumber, const int tripNumber, const int busStopID, QList< EM::Devices::EInterchangeInfo > &interchanges) |
| |
static
ApplicationDefines::ResultValue | DeleteInterchangeDeparturesByInterchangeBusStopID (const QVariant &interchangeBusStopID) |
| |
static
ApplicationDefines::ResultValue | GetInterchangeTrips (const int lineNumber, const int tripNumber, const int busStopID, QList< QPair< QString, int > > &interchangeTrips) |
| |
| static bool | Vacuum () |
| | Vacuum - rebuilds the entire database file, reclaiming unused space and defragmenting data What Actually Happens: More...
|
| |
| static bool | BeginTransaction () |
| |
| static bool | CommitTransaction () |
| |
| static bool | RollbackTransaction () |
| |
static
ApplicationDefines::ResultValue | Insert (Model &model, QVariant &id) |
| |
static
ApplicationDefines::ResultValue | GetID (const Model &model, QVariant &id) |
| |
| static bool | PrepareQuery (QSqlQuery &query, const QString &queryContent) |
| |
| static bool | ExecQuery (QSqlQuery &query) |
| |
static
ApplicationDefines::ResultValue | PrepareAndExecQuery (QSqlQuery &query, const QString &queryContent, const bool doRollbackTransactionOnError) |
| |
static
ApplicationDefines::ResultValue | CheckIfTableContainsColumn (const QString &tableName, const QString &columnName, bool &wantedColumnExists) |
| |