![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qsql_db2_p.h"#include <qcoreapplication.h>#include <qdatetime.h>#include <qlist.h>#include <qsqlerror.h>#include <qsqlfield.h>#include <qsqlindex.h>#include <qsqlrecord.h>#include <qstringlist.h>#include <qvarlengtharray.h>#include <QDebug>#include <QtSql/private/qsqldriver_p.h>#include <QtSql/private/qsqlresult_p.h>#include "private/qtools_p.h"#include <sqlcli1.h>#include <string.h>#include "moc_qsql_db2_p.cpp"Go to the source code of this file.
Classes | |
| class | QDB2DriverPrivate |
| class | QDB2Result |
| class | QDB2ResultPrivate |
Functions | |
| static QString | qFromTChar (SQLTCHAR *str) |
| static SQLTCHAR * | qToTChar (const QString &str) |
| static QString | qWarnDB2Handle (int handleTypehandleType, SQLHANDLE handlehandle, int *errorCode) |
| static QString | qDB2Warn (const QDB2DriverPrivate *d, QStringList *errorCodes=nullptr) |
| static QString | qDB2Warn (const QDB2ResultPrivate *d, QStringList *errorCodes=nullptr) |
| template<typename T> | |
| static void | qSqlWarning (const QString &messagemessage, const T *d) |
| template<typename T> | |
| static QSqlError | qMakeError (const QString &err, QSqlError::ErrorType typetype, const T *pp) |
| static QMetaType | qDecodeDB2Type (SQLSMALLINT sqltype) |
| static QSqlField | qMakeFieldInfo (const QDB2ResultPrivate *d, int i) |
| static int | qGetIntData (SQLHANDLE hStmt, int columncolumn, bool &isNull) |
| static double | qGetDoubleData (SQLHANDLE hStmt, int columncolumn, bool &isNull) |
| static SQLBIGINT | qGetBigIntData (SQLHANDLE hStmt, int columncolumn, bool &isNull) |
| static QString | qGetStringData (SQLHANDLE hStmt, int columncolumn, int colSize, bool &isNull) |
| static QByteArray | qGetBinaryData (SQLHANDLE hStmt, int columncolumn, SQLLEN &lengthIndicator, bool &isNull) |
| static QSqlField | qMakeFieldInfo (const SQLHANDLE hStmt) |
| static bool | qMakeStatement (QDB2ResultPrivate *d, bool forwardOnly, bool setForwardOnly=true) |
Variables | |
| static const int | COLNAMESIZE = 255 |
| static const SQLSMALLINT | TABLENAMESIZE = 128 |
| static const SQLSMALLINT | qParamType [4] = { SQL_PARAM_INPUT, SQL_PARAM_INPUT, SQL_PARAM_OUTPUT, SQL_PARAM_INPUT_OUTPUT } |
|
static |
Definition at line 153 of file qsql_db2.cpp.
|
static |
Definition at line 169 of file qsql_db2.cpp.
|
static |
Definition at line 197 of file qsql_db2.cpp.
|
static |
Definition at line 118 of file qsql_db2.cpp.
|
static |
Definition at line 330 of file qsql_db2.cpp.
|
static |
Definition at line 387 of file qsql_db2.cpp.
References COLNAMESIZE.
|
static |
Definition at line 311 of file qsql_db2.cpp.
|
static |
Definition at line 293 of file qsql_db2.cpp.
|
static |
Definition at line 347 of file qsql_db2.cpp.
|
static |
Definition at line 189 of file qsql_db2.cpp.
|
static |
Definition at line 252 of file qsql_db2.cpp.
References COLNAMESIZE.
|
static |
Definition at line 469 of file qsql_db2.cpp.
|
static |
Definition at line 486 of file qsql_db2.cpp.
Definition at line 182 of file qsql_db2.cpp.
|
static |
Definition at line 125 of file qsql_db2.cpp.
|
static |
Definition at line 130 of file qsql_db2.cpp.
|
static |
Definition at line 36 of file qsql_db2.cpp.
Referenced by qGetBinaryData(), and qMakeFieldInfo().
|
static |
Definition at line 41 of file qsql_db2.cpp.
|
static |
Definition at line 40 of file qsql_db2.cpp.