Qt 5.9 | Qt SQL | Database Classes

Qt 5.9.9 Reference Documentation

# Database Classes

QSqlDatabase | Handles a connection to a database
QSqlDriverCreator | Template class that provides a SQL driver factory for a specific driver type
QSqlDriverCreatorBase | The base class for SQL driver factories
QSqlDriver | Abstract base class for accessing specific SQL databases
QSqlError | SQL database error information
QSqlField | Manipulates the fields in SQL database tables and views
QSqlIndex | Functions to manipulate and describe database indexes
QSqlQuery | Means of executing and manipulating SQL statements
QSqlRecord | Encapsulates a database record
QSqlResult | Abstract interface for accessing data from specific SQL databases
QSql | Contains miscellaneous identifiers used throughout the Qt SQL module
QSqlQueryModel | Read-only data model for SQL result sets
QSqlRelationalTableModel | Editable data model for a single database table, with foreign key support
QSqlTableModel | Editable data model for a single database table