KexiDB::SQLiteDriver Class Reference
#include <sqlitedriver.h>
Inheritance diagram for KexiDB::SQLiteDriver:

Detailed Description
SQLite database driver.
Definition at line 35 of file sqlitedriver.h.
Public Member Functions | |
| SQLiteDriver (QObject *parent, const char *name, const QStringList &args=QStringList()) | |
| virtual | ~SQLiteDriver () |
| virtual bool | isSystemObjectName (const QString &n) const |
| virtual bool | isSystemDatabaseName (const QString &) 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 AdminTools * | drv_createAdminTools () const |
| virtual bool | drv_isSystemFieldName (const QString &n) const |
Protected Attributes | |
| SQLiteDriverPrivate * | dp |
Constructor & Destructor Documentation
|
||||||||||||||||
|
|
Definition at line 101 of file sqlitedriver.cpp. References dp. |
Member Function Documentation
|
|
Reimplemented from KexiDB::Driver. Definition at line 150 of file sqlitedriver.cpp. |
|
|
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 108 of file sqlitedriver.cpp. |
|
|
This is overloaded version of drv_escapeIdentifier( const QString& str ) to be implemented in the same way. Implements KexiDB::Driver. Definition at line 145 of file sqlitedriver.cpp. |
|
|
Driver-specific SQL string escaping. This method is used by escapeIdentifier(). Implement escaping for any character like " or ' as your database engine requires. Do not append or prepend any quotation marks characters - it is automatically done by escapeIdentifier() using DriverBehaviour::QUOTATION_MARKS_FOR_IDENTIFIER. Implements KexiDB::Driver. Definition at line 140 of file sqlitedriver.cpp. |
|
|
Implements KexiDB::Driver. Definition at line 118 of file sqlitedriver.cpp. |
|
|
Escape BLOB value array.
Implements KexiDB::Driver. Definition at line 135 of file sqlitedriver.cpp. References KexiDB::BLOBEscapeXHex, and KexiDB::escapeBLOB(). |
|
|
This is overloaded version of escapeString( const QString& str ) to be implemented in the same way. Implements KexiDB::Driver. Definition at line 130 of file sqlitedriver.cpp. |
|
|
Escape a string for use as a value.
Implements KexiDB::Driver. Definition at line 125 of file sqlitedriver.cpp. |
|
|
Implements KexiDB::Driver. Definition at line 51 of file sqlitedriver.h. |
|
|
Reimplemented from KexiDB::Driver. Definition at line 113 of file sqlitedriver.cpp. References KexiDB::Driver::isSystemObjectName(). |
Member Data Documentation
|
|
Definition at line 72 of file sqlitedriver.h. Referenced by ~SQLiteDriver(). |
The documentation for this class was generated from the following files:
