QtSql/qsql_db2.h Source File
Go to the documentation of this file.
46 #define Q_EXPORT_SQLDRIVER_DB2
48 #define Q_EXPORT_SQLDRIVER_DB2 Q_SQL_EXPORT
58 class QDB2DriverPrivate;
59 class QDB2ResultPrivate;
116 bool setAutoCommit(
bool autoCommit);
117 QDB2DriverPrivate* d;
GLuint GLuint GLsizei GLenum type
virtual QStringList tables(QSql::TableType tableType) const
void virtual_hook(int id, void *data)
QDB2Result(const QDB2Driver *dr, const QDB2DriverPrivate *dp)
bool prepare(const QString &query)
virtual QString formatValue(const QSqlField &field, bool trimStrings=false) const
QSqlRecord record() const
virtual bool hasFeature(DriverFeature f) const =0
#define Q_EXPORT_SQLDRIVER_DB2
#define QT_BEGIN_NAMESPACE
virtual bool rollbackTransaction()
virtual bool commitTransaction()
virtual bool open(const QString &db, const QString &user=QString(), const QString &password=QString(), const QString &host=QString(), int port=-1, const QString &connOpts=QString())=0
virtual QSqlResult * createResult() const =0
virtual QSqlRecord record(const QString &tableName) const
virtual QSqlIndex primaryIndex(const QString &tableName) const
bool reset(const QString &query)
virtual QVariant handle() const
virtual bool beginTransaction()
virtual QString escapeIdentifier(const QString &identifier, IdentifierType type) const