Home · All Classes · Modules

QSqlDriver Class Reference
[QtSql module]

Inherits QObject.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QSqlDriver.DriverFeature

QSqlDriver.IdentifierType

QSqlDriver.StatementType


Method Documentation

QSqlDriver.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QSqlDriver.beginTransaction (self)

QSqlDriver.close (self)

This method is abstract and should be reimplemented in any sub-class.

bool QSqlDriver.commitTransaction (self)

QSqlResult QSqlDriver.createResult (self)

This method is abstract and should be reimplemented in any sub-class.

QString QSqlDriver.escapeIdentifier (self, QString, IdentifierType)

QString QSqlDriver.formatValue (self, QSqlField, bool trimStrings = False)

QVariant QSqlDriver.handle (self)

bool QSqlDriver.hasFeature (self, DriverFeature)

This method is abstract and should be reimplemented in any sub-class.

bool QSqlDriver.isIdentifierEscaped (self, QString, IdentifierType)

bool QSqlDriver.isIdentifierEscapedImplementation (self, QString, IdentifierType)

This method is also a Qt slot with the C++ signature bool isIdentifierEscapedImplementation(const QString&,QSqlDriver::IdentifierType) const.

bool QSqlDriver.isOpen (self)

bool QSqlDriver.isOpenError (self)

QSqlError QSqlDriver.lastError (self)

QSql.NumericalPrecisionPolicy QSqlDriver.numericalPrecisionPolicy (self)

bool QSqlDriver.open (self, QString, QString user = QString(), QString password = QString(), QString host = QString(), int port = -1, QString options = QString())

This method is abstract and should be reimplemented in any sub-class.

QSqlIndex QSqlDriver.primaryIndex (self, QString)

QSqlRecord QSqlDriver.record (self, QString)

bool QSqlDriver.rollbackTransaction (self)

QSqlDriver.setLastError (self, QSqlError)

QSqlDriver.setNumericalPrecisionPolicy (self, QSql.NumericalPrecisionPolicy)

QSqlDriver.setOpen (self, bool)

QSqlDriver.setOpenError (self, bool)

QString QSqlDriver.sqlStatement (self, StatementType, QString, QSqlRecord, bool)

QString QSqlDriver.stripDelimiters (self, QString, IdentifierType)

QString QSqlDriver.stripDelimitersImplementation (self, QString, IdentifierType)

This method is also a Qt slot with the C++ signature QString stripDelimitersImplementation(const QString&,QSqlDriver::IdentifierType) const.

QStringList QSqlDriver.subscribedToNotifications (self)

QStringList QSqlDriver.subscribedToNotificationsImplementation (self)

This method is also a Qt slot with the C++ signature QStringList subscribedToNotificationsImplementation() const.

bool QSqlDriver.subscribeToNotification (self, QString)

bool QSqlDriver.subscribeToNotificationImplementation (self, QString)

This method is also a Qt slot with the C++ signature bool subscribeToNotificationImplementation(const QString&).

QStringList QSqlDriver.tables (self, QSql.TableType)

bool QSqlDriver.unsubscribeFromNotification (self, QString)

bool QSqlDriver.unsubscribeFromNotificationImplementation (self, QString)

This method is also a Qt slot with the C++ signature bool unsubscribeFromNotificationImplementation(const QString&).


Qt Signal Documentation

void notification (const QString&)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0