KDb
KDbCursor.h
38 -# by passing KDbQuerySchema object to KDbConnection::executeQuery() or KDbConnection::prepareQuery();
41 -# by passing raw query statement string to KDbConnection::executeQuery() or KDbConnection::prepareQuery();
49 The cursor can also be positioned after the last record (if any) with moveNext() -- then eof() equals true.
64 - Do not use delete operator for KDbCursor objects - this will fail; use KDbConnection::deleteCursor()
238 KDbCursor(KDbConnection* conn, const KDbEscapedString& sql, Options options = KDbCursor::Option::None);
241 KDbCursor(KDbConnection* conn, KDbQuerySchema* query, Options options = KDbCursor::Option::None);
305 int m_logicalFieldCount; //!< logical field count, i.e. without internal values like Record Id or lookup
Provides database connection, allowing queries and data modification.
Definition KDbConnection.h:52
virtual const char ** recordData() const =0
virtual bool drv_storeCurrentRecord(KDbRecordData *data) const =0
int m_fieldsToStoreInRecord
Used by storeCurrentRecord(), reimplement if needed (e.g.
Definition KDbCursor.h:302
virtual void drv_bufferMovePointerTo(qint64 at)=0
virtual QVariant value(int i)=0
virtual void drv_bufferMovePointerPrev()=0
bool m_buffering_completed
true if we already have all records stored in the buffer
Definition KDbCursor.h:320
virtual void drv_bufferMovePointerNext()=0
int m_logicalFieldCount
logical field count, i.e. without internal values like Record Id or lookup
Definition KDbCursor.h:305
virtual void drv_appendCurrentRecordToBuffer()=0
KDbQueryColumnInfo::Vector * m_visibleFieldsExpanded
Useful e.g. for value(int) method to obtain access to schema definition.
Definition KDbCursor.h:324
virtual bool drv_open(const KDbEscapedString &sql)=0
KDbQuerySchema provides information about database query.
Definition KDbQuerySchema.h:46
Structure for storing single record with type information.
Definition KDbRecordData.h:37
provides data for single edited database record
Definition KDbRecordEditBuffer.h:77
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.