qtsql Module Reference

QDataBrowser (Qt v3+)

virtual void del();

This has been renamed delOnCursor in Python.

QDataTable (Qt v3+)

QDataTable is fully implemented.

QDataView (Qt v3+)

QDataView is fully implemented.

QEditorFactory (Qt v3+)

QEditorFactory is fully implemented.

QSql (Qt v3+)

QSql is fully implemented.

QSqlCursor (Qt v3+)

virtual int del(bool invalidate = TRUE);

This has been renamed delRecords in Python.

virtual int del(const QString &filter, bool invalidate = TRUE);

This has been renamed delRecords in Python.

bool exec(const QString &query);

This has been renamed execQuery in Python.

QSqlDatabase (Qt v3+)

QSqlQuery exec(const QString &query = QString::null);

This has been renamed execStatement in Python.

QSqlDriver (Qt v3+)

QSqlDriver is fully implemented.

QSqlEditorFactory (Qt v3+)

QSqlEditorFactory is fully implemented.

QSqlError (Qt v3+)

QSqlError is fully implemented.

QSqlField (Qt v3+)

QSqlField is fully implemented.

QSqlFieldInfo (Qt v3+)

QSqlFieldInfo is fully implemented.

QSqlForm (Qt v3+)

QSqlForm is fully implemented.

QSqlIndex (Qt v3+)

QSqlIndex is fully implemented.

QSqlPropertyMap (Qt v3+)

QSqlPropertyMap is fully implemented. However, because PyQt does not allow new properties to be defined, it is not possible to implement custom editor widgets in Python and add them to a property map. This will simple be ignored.

This problem may be addressed in a future release of PyQt.

QSqlQuery (Qt v3+)

QMap<QString,QVariant> boundValues const();

Not yet implemented. (Qt v3.2.0+)

virtual bool exec(const QString &query);

This has been renamed execQuery in Python.

bool exec();

This has been renamed execQuery in Python. (Qt v3.1+)

QSqlRecord (Qt v3+)

QSqlRecord is fully implemented.

QSqlRecordInfo (Qt v3+)

QSqlRecordInfo is implemented as a Python list of QSqlFieldInfo instances.

QSqlResult (Qt v3+)

QSqlResult is fully implemented.

QSqlSelectCursor (Qt v3.2.0+)

int del(bool invalidate = TRUE);

This has been renamed delRecords in Python.

bool exec(const QString &query);

This has been renamed execQuery in Python.