Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

QSql Namespace Reference

The QSql namespace contains miscellaneous identifiers used throughout the Qt SQL library. More...

#include <QSql>

Types


Detailed Description

The QSql namespace contains miscellaneous identifiers used throughout the Qt SQL library.


Type Documentation

enum QSql::Location

This enum type describes special SQL navigation locations:

QSql::BeforeFirstRowBefore the first record.
QSql::AfterLastRowAfter the last record.

See also QSqlQuery::at().

enum QSql::ParamTypeFlag
typedef QSql::ParamType

This enum is used to specify the type of a bind parameter.

QSql::InThe bind parameter is used to put data into the database.
QSql::OutThe bind parameter is used to receive data from the database.
QSql::InOutThe bind parameter is used to put data into the database; it will be overwritten with output data on executing a query.
QSql::BinaryThis must be OR'd with one of the other flags if you want to indicate that the data being transferred is raw binary data.

The ParamType typedef can store a combination of ParamTypeFlag values.

enum QSql::TableType

This enum type describes types of SQL tables.

QSql::TablesAll the tables visible to the user.
QSql::SystemTablesInternal tables used by the database.
QSql::ViewsAll the views visible to the user.
QSql::AllTablesAll of the above.


Copyright © 2004 Trolltech Trademarks
Qt 4.0.0-b1