NAME
Qt::Sql::QSqlDatabase
PUBLIC METHODS
- QSqlDatabase()
- QSqlDatabase()
- ~QSqlDatabase()
- static QSqlDatabase addDatabase(, )
- static QSqlDatabase addDatabase(, = QLatin1String(QSqlDatabase::defaultConnection))
- static QSqlDatabase addDatabase(, )
- static QSqlDatabase addDatabase(, = QLatin1String(QSqlDatabase::defaultConnection))
- static QSqlDatabase cloneDatabase(, )
- void close()
- bool commit()
- QString connectOptions()
- QString connectionName()
- static QStringList connectionNames()
- static bool contains()
- static bool contains( = QLatin1String(QSqlDatabase::defaultConnection))
- static QSqlDatabase database(, )
- static QSqlDatabase database(, = true)
- static QSqlDatabase database( = QLatin1String(QSqlDatabase::defaultConnection), = true)
- QString databaseName()
- QSqlDriver * driver()
- QString driverName()
- static QStringList drivers()
- QSqlQuery exec()
- QSqlQuery exec( = QString())
- QString hostName()
- static bool isDriverAvailable()
- bool isOpen()
- bool isOpenError()
- bool isValid()
- QSqlError lastError()
- QSql::NumericalPrecisionPolicy numericalPrecisionPolicy()
- bool open()
- bool open(, )
- QSqlDatabase & operator=()
- QString password()
- int port()
- QSqlIndex primaryIndex()
- QSqlRecord record()
- static void registerSqlDriver(, )
- static void removeDatabase()
- bool rollback()
- void setConnectOptions()
- void setConnectOptions( = QString())
- void setDatabaseName()
- void setHostName()
- void setNumericalPrecisionPolicy()
- void setPassword()
- void setPort()
- void setUserName()
- QStringList tables()
- QStringList tables( = QSql::Tables)
- bool transaction()
- QString userName()
ENUM VALUES
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.