Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
QString | fieldSerial (qsizetype i) const override |
void | deallocatePreparedStmt () |
bool | processResults () |
QSqlResultPrivate (QSqlResult *q, const QSqlDriver *drv) | |
Public Member Functions inherited from QSqlResultPrivate | |
QSqlResultPrivate (QSqlResult *q, const QSqlDriver *drv) | |
virtual | ~QSqlResultPrivate ()=default |
void | clearValues () |
void | resetBindCount () |
void | clearIndex () |
void | clear () |
QString | positionalToNamedBinding (const QString &query) const |
QString | namedToPositionalBinding (const QString &query) |
QString | holderAt (int index) const |
Public Attributes | |
std::queue< PGresult * > | nextResultSets |
QString | preparedStmtId |
PGresult * | result = nullptr |
StatementId | stmtId = InvalidStatementId |
int | currentSize = -1 |
bool | canFetchMoreRows = false |
bool | preparedQueriesEnabled = false |
Public Attributes inherited from QSqlResultPrivate | |
QSqlResult * | q_ptr = nullptr |
QPointer< QSqlDriver > | sqldriver |
QString | sql |
QSqlError | error |
QString | executedQuery |
QHash< int, QSql::ParamType > | types |
QList< QVariant > | values |
IndexMap | indexes |
QHolderVector | holders |
QSqlResult::BindingSyntax | binds = QSqlResult::PositionalBinding |
QSql::NumericalPrecisionPolicy | precisionPolicy = QSql::LowPrecisionDouble |
int | idx = QSql::BeforeFirstRow |
int | bindCount = 0 |
bool | active = false |
bool | isSel = false |
bool | forwardOnly = false |
bool | positionalBindingEnabled = true |
Additional Inherited Members | |
Public Types inherited from QSqlResultPrivate | |
using | IndexMap = QHash<QString, QList<int>> |
using | QHolderVector = QList<QHolder> |
Static Public Member Functions inherited from QSqlResultPrivate | |
static bool | isVariantNull (const QVariant &variant) |
Definition at line 254 of file qsql_psql.cpp.
void QPSQLResultPrivate::deallocatePreparedStmt | ( | ) |
Definition at line 381 of file qsql_psql.cpp.
References QString::clear(), connection, QString::fromUtf8(), preparedStmtId, qCWarning, QStringLiteral, and qUtf16Printable.
Reimplemented from QSqlResultPrivate.
Definition at line 261 of file qsql_psql.cpp.
References QString::arg(), and i.
bool QPSQLResultPrivate::processResults | ( | ) |
Definition at line 288 of file qsql_psql.cpp.
References canFetchMoreRows, currentSize, PGRES_SINGLE_TUPLE, qMakeError(), QSqlError::StatementError, stmtId, and QCoreApplication::translate().
|
inline |
Definition at line 45 of file qsqlresult_p.h.
bool QPSQLResultPrivate::canFetchMoreRows = false |
Definition at line 269 of file qsql_psql.cpp.
Referenced by processResults().
int QPSQLResultPrivate::currentSize = -1 |
Definition at line 268 of file qsql_psql.cpp.
Referenced by processResults().
std::queue<PGresult*> QPSQLResultPrivate::nextResultSets |
Definition at line 264 of file qsql_psql.cpp.
bool QPSQLResultPrivate::preparedQueriesEnabled = false |
Definition at line 270 of file qsql_psql.cpp.
QString QPSQLResultPrivate::preparedStmtId |
Definition at line 265 of file qsql_psql.cpp.
Referenced by deallocatePreparedStmt().
Definition at line 266 of file qsql_psql.cpp.
StatementId QPSQLResultPrivate::stmtId = InvalidStatementId |
Definition at line 267 of file qsql_psql.cpp.
Referenced by processResults().