KDb
SqliteConnection.h
106 bool drv_useDatabaseInternal(bool *cancelled, KDbMessageHandler* msgHandler, bool createIfMissing);
Database specific connection data, e.g. host, port.
Definition KDbConnectionData.shared.h:36
Generic options for a single connection. The options are accessible using key/value pairs....
Definition KDbConnectionOptions.h:36
Provides database connection, allowing queries and data modification.
Definition KDbConnection.h:52
Definition KDbMessageHandler.h:135
Prepared statement interface for backend-dependent implementations.
Definition KDbPreparedStatementInterface.h:32
KDbQuerySchema provides information about database query.
Definition KDbQuerySchema.h:46
The KDbSqlResult class abstracts result of a raw SQL query preparation by KDbConnection::prepareSql()
Definition KDbSqlResult.h:45
Definition KDbTableSchema.h:38
SQLite-specific connection Following connection options are supported (see KDbConnectionOptions):
Definition SqliteConnection.h:37
bool drv_executeSql(const KDbEscapedString &sql) override
Executes query for a raw SQL statement sql without returning resulting records.
Definition SqliteConnection.cpp:321
KDbSqlResult * drv_prepareSql(const KDbEscapedString &sql) override
Prepares query for a raw SQL statement sql with possibility of returning records.
Definition SqliteConnection.cpp:292
KDbCursor * prepareQuery(const KDbEscapedString &sql, KDbCursor::Options options=KDbCursor::Option::None) override
Definition SqliteConnection.cpp:282
tristate drv_changeFieldProperty(KDbTableSchema *table, KDbField *field, const QString &propertyName, const QVariant &value) override
Definition SqliteAlter.cpp:61
tristate drv_containsTable(const QString &tableName) override
Definition SqliteConnection.cpp:93
KDbPreparedStatementInterface * prepareStatementInternal() override
Definition SqliteConnection.cpp:356
bool drv_createDatabase(const QString &dbName=QString()) override
Definition SqliteConnection.cpp:121
bool drv_closeDatabase() override
Definition SqliteConnection.cpp:247
QString serverResultName() const override
Implemented for KDbResultable.
Definition SqliteConnection.cpp:351
SqliteConnection(KDbDriver *driver, const KDbConnectionData &connData, const KDbConnectionOptions &options)
Definition SqliteConnection.cpp:39
tristate changeFieldType(KDbTableSchema *table, KDbField *field, KDbField::Type type)
for drv_changeFieldProperty()
Definition SqliteAlter.cpp:98
bool drv_getServerVersion(KDbServerVersionInfo *version) override
Definition SqliteConnection.cpp:68
bool drv_getDatabasesList(QStringList *list) override
Definition SqliteConnection.cpp:86
bool drv_useDatabase(const QString &dbName=QString(), bool *cancelled=nullptr, KDbMessageHandler *msgHandler=nullptr) override
Definition SqliteConnection.cpp:127
bool drv_dropDatabase(const QString &dbName=QString()) override
Definition SqliteConnection.cpp:267
3-state logical type with three values: true, false and cancelled and convenient operators.
Definition KDbTristate.h:101
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.