NAME
Qt::Sql::QSqlDriver
PUBLIC METHODS
- QSqlDriver(QObject * parent)
- QSqlDriver(QObject * parent = 0)
- ~QSqlDriver()
- bool beginTransaction()
- void close()
- bool commitTransaction()
- QSqlResult * createResult()
- QString escapeIdentifier(const QString & identifier, QSqlDriver::IdentifierType type)
- QString formatValue(const QSqlField & field, bool trimStrings)
- QString formatValue(const QSqlField & field, bool trimStrings = false)
- QVariant handle()
- bool hasFeature(QSqlDriver::DriverFeature f)
- bool isIdentifierEscaped(const QString & identifier, QSqlDriver::IdentifierType type)
- bool isOpen()
- bool isOpenError()
- QSqlError lastError()
- QSql::NumericalPrecisionPolicy numericalPrecisionPolicy()
- bool open(const QString & db, const QString & user, const QString & password, const QString & host, int port, const QString & connOpts)
- bool open(const QString & db, const QString & user, const QString & password, const QString & host, int port, const QString & connOpts = QString())
- bool open(const QString & db, const QString & user, const QString & password, const QString & host, int port = -1, const QString & connOpts = QString())
- bool open(const QString & db, const QString & user, const QString & password, const QString & host = QString(), int port = -1, const QString & connOpts = QString())
- bool open(const QString & db, const QString & user, const QString & password = QString(), const QString & host = QString(), int port = -1, const QString & connOpts = QString())
- bool open(const QString & db, const QString & user = QString(), const QString & password = QString(), const QString & host = QString(), int port = -1, const QString & connOpts = QString())
- QSqlIndex primaryIndex(const QString & tableName)
- QSqlRecord record(const QString & tableName)
- bool rollbackTransaction()
- void setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy)
- QString sqlStatement(QSqlDriver::StatementType type, const QString & tableName, const QSqlRecord & rec, bool preparedStatement)
- QString stripDelimiters(const QString & identifier, QSqlDriver::IdentifierType type)
- bool subscribeToNotification(const QString & name)
- QStringList subscribedToNotifications()
- QStringList tables(QSql::TableType tableType)
- bool unsubscribeFromNotification(const QString & name)
ENUM VALUES
- Transactions
- QuerySize
- BLOB
- Unicode
- PreparedQueries
- NamedPlaceholders
- PositionalPlaceholders
- LastInsertId
- BatchOperations
- SimpleLocking
- LowPrecisionNumbers
- EventNotifications
- FinishQuery
- MultipleResultSets
- WhereStatement
- SelectStatement
- UpdateStatement
- InsertStatement
- DeleteStatement
- FieldName
- TableName
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.