KDb
20#ifndef KDB_SQLITECURSOR_H
21#define KDB_SQLITECURSOR_H
27class SqliteCursorData;
36 ~SqliteCursor()
override;
37 QVariant value(
int i)
override;
42 const char ** recordData()
const override;
44 bool drv_storeCurrentRecord(KDbRecordData* data)
const override;
47 QString serverResultName()
const override;
51 SqliteCursor(SqliteConnection* conn,
const KDbEscapedString& sql,
52 Options
options = KDbCursor::Option::None);
55 SqliteCursor(SqliteConnection* conn, KDbQuerySchema*
query,
56 Options
options = KDbCursor::Option::None);
58 bool drv_open(
const KDbEscapedString& sql)
override;
60 bool drv_close()
override;
61 void drv_getNextRecord()
override;
63 void drv_appendCurrentRecordToBuffer()
override;
64 void drv_bufferMovePointerNext()
override;
65 void drv_bufferMovePointerPrev()
override;
66 void drv_bufferMovePointerTo(qint64
at)
override;
73 void drv_clearBuffer()
override;
77 SqliteCursorData *
const d;
79 friend class SqliteConnection;
80 Q_DISABLE_COPY(SqliteCursor)
Provides database cursor functionality.
KDbQuerySchema * query() const
SQLite-specific connection Following connection options are supported (see KDbConnectionOptions):
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:12 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.