Database Classes¶
Database related classes, e.g. for SQL databases.
The QSql namespace contains miscellaneous identifiers used throughout the Qt SQL module.
PySide6.QtSql.QSqlDriverCreatorBase
The QSqlDriverCreatorBase class is the base class for SQL driver factories.
QSqlDriverCreator
The QSqlDriverCreator class is a template class that provides a SQL driver factory for a specific driver type.
PySide6.QtSql.QSqlDatabase
The QSqlDatabase class handles a connection to a database.
PySide6.QtSql.QSqlDriver
The QSqlDriver class is an abstract base class for accessing specific SQL databases.
PySide6.QtSql.QSqlError
The QSqlError class provides SQL database error information.
PySide6.QtSql.QSqlField
The QSqlField class manipulates the fields in SQL database tables and views.
PySide6.QtSql.QSqlIndex
The QSqlIndex class provides functions to manipulate and describe database indexes.
PySide6.QtSql.QSqlQuery
The QSqlQuery class provides a means of executing and manipulating SQL statements.
PySide6.QtSql.QSqlRecord
The QSqlRecord class encapsulates a database record.
PySide6.QtSql.QSqlResult
The QSqlResult class provides an abstract interface for accessing data from specific SQL databases.
PySide6.QtSql.QSqlQueryModel
The QSqlQueryModel class provides a read-only data model for SQL result sets.
PySide6.QtSql.QSqlRelationalTableModel
The QSqlRelationalTableModel class provides an editable data model for a single database table, with foreign key support.
PySide6.QtSql.QSqlTableModel
The QSqlTableModel class provides an editable data model for a single database table.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.