![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
void | cleanup () |
bool | fetchNext (QSqlCachedResult::ValueCache &values, int idx, bool initialFetch) |
void | initColumns (bool emptyResultset) |
void | finalize () |
![]() | |
bool | canSeek (int i) const |
int | cacheCount () const |
void | init (int count, bool fo) |
void | cleanup () |
int | nextIndex () |
void | revertLast () |
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 | |
sqlite3_stmt * | stmt = nullptr |
QSqlRecord | rInf |
QList< QVariant > | firstRow |
bool | skippedStatus = false |
bool | skipRow = false |
![]() | |
QSqlCachedResult::ValueCache | cache |
int | rowCacheEnd = 0 |
int | colCount = 0 |
bool | atEnd = 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 123 of file qsql_sqlite.cpp.
void QSQLiteResultPrivate::cleanup | ( | ) |
Definition at line 143 of file qsql_sqlite.cpp.
References QSql::BeforeFirstRow.
bool QSQLiteResultPrivate::fetchNext | ( | QSqlCachedResult::ValueCache & | values, |
int | idx, | ||
bool | initialFetch | ||
) |
Definition at line 218 of file qsql_sqlite.cpp.
References QSql::AfterLastRow, QSqlError::ConnectionError, QSql::HighPrecision, i, QSql::LowPrecisionDouble, QSql::LowPrecisionInt32, QSql::LowPrecisionInt64, Q_ASSERT, qMakeError(), and QCoreApplication::translate().
void QSQLiteResultPrivate::finalize | ( | ) |
Definition at line 155 of file qsql_sqlite.cpp.
void QSQLiteResultPrivate::initColumns | ( | bool | emptyResultset | ) |
Definition at line 164 of file qsql_sqlite.cpp.
References i, qGetColumnType(), QString::remove(), QSqlField::setSqlType(), typeName, and QMetaType::UnknownType.
Definition at line 138 of file qsql_sqlite.cpp.
QSqlRecord QSQLiteResultPrivate::rInf |
Definition at line 137 of file qsql_sqlite.cpp.
bool QSQLiteResultPrivate::skippedStatus = false |
Definition at line 139 of file qsql_sqlite.cpp.
bool QSQLiteResultPrivate::skipRow = false |
Definition at line 140 of file qsql_sqlite.cpp.
sqlite3_stmt* QSQLiteResultPrivate::stmt = nullptr |
Definition at line 136 of file qsql_sqlite.cpp.