Qt SQL C++ 类

为 SQL 数据库提供驱动程序层、SQL API 层及用户接口层。 更多...

名称空间

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
QSqlDriverPlugin 用于自定义 QSqlDriver 插件的抽象基
QSqlError SQL 数据库错误信息
QSqlField 操纵 SQL 数据库表和视图中的字段
QSqlIndex Functions to manipulate and describe database indexes
QSqlQuery 执行和操纵 SQL 语句的手段
QSqlQueryModel Read-only data model for SQL result sets
QSqlRecord 封装数据库记录
QSqlRelation Stores information about an SQL foreign key
QSqlRelationalDelegate Delegate that is used to display and edit data from a QSqlRelationalTableModel
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

详细描述

The Qt SQL 页面包含如何使用模块的有关信息。