![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QString | fieldSerial (qsizetype i) const override |
void | deallocatePreparedStmt () |
bool | processResults () |
QSqlResultPrivate (QSqlResult *q, const QSqlDriver *drv) | |
![]() | |
QSqlResultPrivate (QSqlResult *q, const QSqlDriver *drv) | |
virtual | ~QSqlResultPrivate ()=default |
void | clearValues () |
void | resetBindCount () |
void | clearIndex () |
void | clear () |
virtual QString | fieldSerial (qsizetype) const |
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 |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
using | IndexMap = QHash< QString, QList< int > > |
using | QHolderVector = QList< QHolder > |
![]() | |
static bool | isVariantNull (const QVariant &variant) |
Definition at line 250 of file qsql_psql.cpp.
void QPSQLResultPrivate::deallocatePreparedStmt | ( | ) |
Definition at line 377 of file qsql_psql.cpp.
References QString::clear(), connection, QString::fromUtf8(), preparedStmtId, QStringLiteral, qUtf16Printable, and qWarning.
Reimplemented from QSqlResultPrivate.
Definition at line 257 of file qsql_psql.cpp.
References i, and QString::number().
bool QPSQLResultPrivate::processResults | ( | ) |
Definition at line 284 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 265 of file qsql_psql.cpp.
Referenced by processResults().
int QPSQLResultPrivate::currentSize = -1 |
Definition at line 264 of file qsql_psql.cpp.
Referenced by processResults().
std::queue<PGresult*> QPSQLResultPrivate::nextResultSets |
Definition at line 260 of file qsql_psql.cpp.
bool QPSQLResultPrivate::preparedQueriesEnabled = false |
Definition at line 266 of file qsql_psql.cpp.
QString QPSQLResultPrivate::preparedStmtId |
Definition at line 261 of file qsql_psql.cpp.
Referenced by deallocatePreparedStmt().
Definition at line 262 of file qsql_psql.cpp.
StatementId QPSQLResultPrivate::stmtId = InvalidStatementId |
Definition at line 263 of file qsql_psql.cpp.
Referenced by processResults().