45 #include <QtSql/qsqlresult.h> 46 #include <QtSql/qsqldriver.h> 47 #include <QtSql/private/qsqlcachedresult_p.h> 50 #define WIN32_LEAN_AND_MEAN 52 #define DBNTWIN32 // indicates 32bit windows dblib 55 #include <QtCore/qt_windows.h> 65 #define Q_EXPORT_SQLDRIVER_TDS 67 #define Q_EXPORT_SQLDRIVER_TDS Q_SQL_EXPORT 119 bool trimStrings)
const;
125 bool beginTransaction();
126 bool commitTransaction();
127 bool rollbackTransaction();
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.
DriverFeature
This enum contains a list of features a driver might support.
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.
bool gotoNext(QSqlCachedResult::ValueCache &values, int index)
The QStringList class provides a list of strings.
#define Q_EXPORT_SQLDRIVER_TDS
QTDSResult(const QTDSDriver *db)
QSqlRecord record() const
Returns the current record if the query is active; otherwise returns an empty QSqlRecord.
int numRowsAffected()
Returns the number of rows affected by the last query executed, or -1 if it cannot be determined or i...
bool reset(const QString &query)
Sets the result to use the SQL statement query for subsequent data retrieval.
QVariant handle() const
Returns the low-level database handle for this result set wrapped in a QVariant or an invalid QVarian...
The QSqlField class manipulates the fields in SQL database tables and views.
int size()
Returns the size of the SELECT result, or -1 if it cannot be determined or if the query is not a SELE...
The QSqlResult class provides an abstract interface for accessing data from specific SQL databases...
IdentifierType
This enum contains a list of SQL identifier types.
int open(const char *, int,...)