数据库类

QSql

包含用于整个 Qt SQL 模块的杂项标识符

QSqlDatabase

处理数据库连接

QSqlDriver

Abstract base class for accessing specific SQL databases

QSqlDriverCreator

Template class that provides a SQL driver factory for a specific driver type

QSqlDriverCreatorBase

The base class for SQL driver factories

QSqlError

SQL 数据库错误信息

QSqlField

操纵 SQL 数据库表和视图中的字段

QSqlIndex

Functions to manipulate and describe database indexes

QSqlQuery

执行和操纵 SQL 语句的手段

QSqlQueryModel

Read-only data model for SQL result sets

QSqlRecord

封装数据库记录

QSqlRelationalTableModel

Editable data model for a single database table, with foreign key support

QSqlResult

Abstract interface for accessing data from specific SQL databases

QSqlTableModel

Editable data model for a single database table