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 |
| Escape a string for use as a value. | |
| virtual QCString | escapeString (const QCString &str) const |
| virtual QString | escapeBLOB (const QByteArray &array) const |
| Escape BLOB value array. | |
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 57 of file mysqldriver.cpp. References KexiDB::Field::BigInteger, KexiDB::Field::BLOB, KexiDB::Field::Boolean, KexiDB::Field::Byte, KexiDB::Field::Date, KexiDB::Field::DateTime, KexiDB::Field::Double, KexiDB::Field::Float, KexiDB::Field::Integer, KexiDB::Field::LongText, KexiDB::Field::ShortInteger, KexiDB::Field::Text, and KexiDB::Field::Time. |
|
|
Definition at line 96 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 101 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 207 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 203 of file mysqldriver.cpp. |
|
|
Implements KexiDB::Driver. Definition at line 111 of file mysqldriver.cpp. |
|
|
Escape BLOB value array.
Implements KexiDB::Driver. Definition at line 183 of file mysqldriver.cpp. References KexiDB::BLOBEscape0xHex, and KexiDB::escapeBLOB(). |
|
|
Implements KexiDB::Driver. Definition at line 188 of file mysqldriver.cpp. |
|
|
Escape a string for use as a value.
Implements KexiDB::Driver. Definition at line 115 of file mysqldriver.cpp. |
|
|
Implements KexiDB::Driver. Definition at line 106 of file mysqldriver.cpp. References KexiDB::Driver::isSystemObjectName(). |
The documentation for this class was generated from the following files:
