45 #include <QtSql/qsqlresult.h> 46 #include <QtSql/qsqldriver.h> 47 #include <QtSql/private/qsqlcachedresult_p.h> 100 int port) {
return open (db, user, password, host, port,
QString()); }
103 bool beginTransaction();
104 bool commitTransaction();
105 bool rollbackTransaction();
117 bool subscribeToNotificationImplementation(
const QString &
name);
118 bool unsubscribeFromNotificationImplementation(
const QString &name);
119 QStringList subscribedToNotificationsImplementation()
const;
122 void qHandleEventNotification(
void* updatedResultBuffer);
131 #endif // QSQL_IBASE_H The QVariant class acts like a union for the most common Qt data types.
The QSqlIndex class provides functions to manipulate and describe database indexes.
#define QT_END_NAMESPACE
This macro expands to.
bool gotoNext(QSqlCachedResult::ValueCache &row, int rowIdx)
QSqlRecord record() const
Returns the current record if the query is active; otherwise returns an empty QSqlRecord.
DriverFeature
This enum contains a list of features a driver might support.
bool exec()
Executes the query, returning true if successful; otherwise returns false.
The QSqlRecord class encapsulates a database record.
The QSqlDriver class is an abstract base class for accessing specific SQL databases.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QStringList class provides a list of strings.
QVariant handle() const
Returns the low-level database handle for this result set wrapped in a QVariant or an invalid QVarian...
int size()
Returns the size of the SELECT result, or -1 if it cannot be determined or if the query is not a SELE...
QIBaseResult(const QIBaseDriver *db)
bool reset(const QString &query)
Sets the result to use the SQL statement query for subsequent data retrieval.
bool open(const QString &db, const QString &user, const QString &password, const QString &host, int port)
The QSqlField class manipulates the fields in SQL database tables and views.
int numRowsAffected()
Returns the number of rows affected by the last query executed, or -1 if it cannot be determined or i...
The QSqlResult class provides an abstract interface for accessing data from specific SQL databases...
IdentifierType
This enum contains a list of SQL identifier types.
bool prepare(const QString &query)
Prepares the given query for execution; the query will normally use placeholders so that it can be ex...
int open(const char *, int,...)