KDb
MysqlConnection.h
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
Provides database connection, allowing queries and data modification.
Definition MysqlConnection.h:34
bool drv_executeSql(const KDbEscapedString &sql) override
Executes query for a raw SQL statement sql without returning resulting records.
Definition MysqlConnection.cpp:186
KDbSqlResult * drv_prepareSql(const KDbEscapedString &sql) override
Prepares query for a raw SQL statement sql with possibility of returning records.
Definition MysqlConnection.cpp:176
bool drv_closeDatabase() override
Definition MysqlConnection.cpp:163
bool drv_useDatabase(const QString &dbName=QString(), bool *cancelled=nullptr, KDbMessageHandler *msgHandler=nullptr) override
Definition MysqlConnection.cpp:150
QString serverResultName() const override
Implemented for KDbResultable.
Definition MysqlConnection.cpp:195
bool drv_dropDatabase(const QString &dbName=QString()) override
Definition MysqlConnection.cpp:169
bool drv_createDatabase(const QString &dbName=QString()) override
Definition MysqlConnection.cpp:141
KDbCursor * prepareQuery(const KDbEscapedString &sql, KDbCursor::Options options=KDbCursor::Option::None) override
Definition MysqlConnection.cpp:98
tristate drv_containsTable(const QString &tableName) override
Definition MysqlConnection.cpp:200
bool drv_getServerVersion(KDbServerVersionInfo *version) override
Definition MysqlConnection.cpp:67
bool drv_getDatabasesList(QStringList *list) override
Definition MysqlConnection.cpp:108
MysqlConnection(KDbDriver *driver, const KDbConnectionData &connData, const KDbConnectionOptions &options)
Definition MysqlConnection.cpp:32
bool drv_databaseExists(const QString &dbName, bool ignoreErrors=true) override
reimplemented using "SHOW DATABASES LIKE..." because MySQL stores db names in lower case.
Definition MysqlConnection.cpp:125
KDbPreparedStatementInterface * prepareStatementInternal() override
Definition MysqlConnection.cpp:206
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.