Uses of Class
io.qt.sql.QSqlDatabase
-
Uses of QSqlDatabase in io.qt.sql
Modifier and TypeMethodDescriptionstatic QSqlDatabase
QSqlDatabase.addDatabase
(String type) Overloaded function foraddDatabase(java.lang.String, java.lang.String)
withconnectionName = defaultConnection()
.static QSqlDatabase
QSqlDatabase.addDatabase
(String type, String connectionName) static QSqlDatabase
QSqlDatabase.addDatabase
(QSqlDriver driver) Overloaded function foraddDatabase(io.qt.sql.QSqlDriver, java.lang.String)
withconnectionName = defaultConnection()
.static QSqlDatabase
QSqlDatabase.addDatabase
(QSqlDriver driver, String connectionName) QSqlDatabase.clone()
Creates and returns a copy of this object.static QSqlDatabase
QSqlDatabase.cloneDatabase
(QSqlDatabase other, String connectionName) static QSqlDatabase
QSqlDatabase.cloneDatabase
(String other, String connectionName) static QSqlDatabase
QSqlDatabase.database()
Overloaded function fordatabase(java.lang.String, boolean)
static QSqlDatabase
Overloaded function fordatabase(java.lang.String, boolean)
withopen = true
.static QSqlDatabase
final QSqlDatabase
QSqlTableModel.database()
Modifier and TypeMethodDescriptionfinal void
QSqlDatabase.assign
(QSqlDatabase other) static QSqlDatabase
QSqlDatabase.cloneDatabase
(QSqlDatabase other, String connectionName) final void
QSqlQueryModel.setQuery
(String query, QSqlDatabase db) ModifierConstructorDescriptionQSqlDatabase
(QSqlDatabase other) QSqlQuery
(String query, QSqlDatabase db) QSqlRelationalTableModel
(QObject parent, QSqlDatabase db) QSqlTableModel
(QObject parent, QSqlDatabase db)