kexi
KexiDB::MySqlDriver Class Reference
#include <mysqldriver.h>
Inheritance diagram for KexiDB::MySqlDriver:

Detailed Description
MySQL database driver.
Definition at line 30 of file mysqldriver.h.
Public Member Functions | |
MySqlDriver (QObject *parent, const char *name, const QStringList &args=QStringList()) | |
virtual | ~MySqlDriver () |
virtual bool | isSystemDatabaseName (const QString &n) const |
virtual QString | escapeString (const QString &str) const |
virtual QCString | escapeString (const QCString &str) const |
virtual QString | escapeBLOB (const QByteArray &array) const |
Protected Member Functions | |
virtual QString | drv_escapeIdentifier (const QString &str) const |
virtual QCString | drv_escapeIdentifier (const QCString &str) const |
virtual Connection * | drv_createConnection (ConnectionData &conn_data) |
virtual bool | drv_isSystemFieldName (const QString &n) const |
Constructor & Destructor Documentation
|
Constructor sets database features and maps the types in KexiDB::Field::Type to the MySQL types. See: http://dev.mysql.com/doc/mysql/en/Column_types.html Definition at line 56 of file mysqldriver.cpp. |
Member Function Documentation
|
For reimplemenation: creates and returns connection object with additional structures specific for a given driver. Connection object should inherit Connection and have a destructor that descructs all allocated driver-dependent connection structures. Implements KexiDB::Driver. Definition at line 100 of file mysqldriver.cpp. |
|
This is overloaded version of drv_escapeIdentifier( const QString& str ) to be implemented in the same way. Implements KexiDB::Driver. Definition at line 206 of file mysqldriver.cpp. |
|
Add back-ticks to an identifier, and replace any back-ticks within the name with single quotes. Implements KexiDB::Driver. Definition at line 202 of file mysqldriver.cpp. |
|
Implements KexiDB::Driver. Definition at line 110 of file mysqldriver.cpp. |
|
Escape BLOB value array.
Implements KexiDB::Driver. Definition at line 182 of file mysqldriver.cpp. |
|
Implements KexiDB::Driver. Definition at line 187 of file mysqldriver.cpp. |
|
Escape a string for use as a value.
Implements KexiDB::Driver. Definition at line 114 of file mysqldriver.cpp. |
|
Implements KexiDB::Driver. Definition at line 105 of file mysqldriver.cpp. |
The documentation for this class was generated from the following files: