Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QPSQLResultPrivate Class Referencefinal
Inheritance diagram for QPSQLResultPrivate:
Collaboration diagram for QPSQLResultPrivate:

Public Member Functions

 QPSQLResultPrivate (QSqlResult *q, const QSqlDriver *drv)
QString fieldSerial (qsizetype i) const override
void deallocatePreparedStmt ()
bool processResults ()
 QPSQLResultPrivate (QSqlResult *q, const QSqlDriver *drv)
QString fieldSerial (qsizetype i) const override
void deallocatePreparedStmt ()
bool processResults ()
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
QByteArray 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
bool qmarkNotationSupported = 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)

Detailed Description

Definition at line 259 of file qsql_psql.cpp.

Constructor & Destructor Documentation

◆ QPSQLResultPrivate() [1/2]

QPSQLResultPrivate::QPSQLResultPrivate ( QSqlResult * q,
const QSqlDriver * drv )
inline

Definition at line 265 of file qsql_psql.cpp.

References QPSQLResultPrivate().

Referenced by QPSQLResultPrivate(), and fieldSerial().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QPSQLResultPrivate() [2/2]

QPSQLResultPrivate::QPSQLResultPrivate ( QSqlResult * q,
const QSqlDriver * drv )
inline

Definition at line 265 of file qsql_psql.cpp.

Member Function Documentation

◆ deallocatePreparedStmt() [1/2]

void QPSQLResultPrivate::deallocatePreparedStmt ( )

Definition at line 393 of file qsql_psql.cpp.

◆ deallocatePreparedStmt() [2/2]

void QPSQLResultPrivate::deallocatePreparedStmt ( )

◆ fieldSerial() [1/2]

QString QPSQLResultPrivate::fieldSerial ( qsizetype i) const
inlineoverridevirtual

Reimplemented from QSqlResultPrivate.

Definition at line 270 of file qsql_psql.cpp.

References QPSQLResultPrivate().

Here is the call graph for this function:

◆ fieldSerial() [2/2]

QString QPSQLResultPrivate::fieldSerial ( qsizetype i) const
inlineoverridevirtual

Reimplemented from QSqlResultPrivate.

Definition at line 270 of file qsql_psql.cpp.

◆ processResults() [1/2]

bool QPSQLResultPrivate::processResults ( )

Definition at line 297 of file qsql_psql.cpp.

References canFetchMoreRows, currentSize, result, and stmtId.

◆ processResults() [2/2]

bool QPSQLResultPrivate::processResults ( )

Member Data Documentation

◆ canFetchMoreRows

bool QPSQLResultPrivate::canFetchMoreRows = false

Definition at line 278 of file qsql_psql.cpp.

Referenced by processResults().

◆ currentSize

int QPSQLResultPrivate::currentSize = -1

Definition at line 277 of file qsql_psql.cpp.

Referenced by processResults().

◆ nextResultSets

std::queue< PGresult * > QPSQLResultPrivate::nextResultSets

Definition at line 273 of file qsql_psql.cpp.

◆ preparedQueriesEnabled

bool QPSQLResultPrivate::preparedQueriesEnabled = false

Definition at line 279 of file qsql_psql.cpp.

◆ preparedStmtId

QByteArray QPSQLResultPrivate::preparedStmtId

Definition at line 274 of file qsql_psql.cpp.

◆ result

PGresult * QPSQLResultPrivate::result = nullptr

Definition at line 275 of file qsql_psql.cpp.

Referenced by processResults().

◆ stmtId

StatementId QPSQLResultPrivate::stmtId = InvalidStatementId

Definition at line 276 of file qsql_psql.cpp.

Referenced by processResults().


The documentation for this class was generated from the following file: