KDb
21#ifndef KDB_MYSQLCURSOR_H
22#define KDB_MYSQLCURSOR_H
32 MysqlCursor(KDbConnection* conn,
const KDbEscapedString& sql,
33 KDbCursor::Options
options = KDbCursor::Option::None);
34 MysqlCursor(KDbConnection* conn, KDbQuerySchema*
query,
35 KDbCursor::Options
options = KDbCursor::Option::None);
36 ~MysqlCursor()
override;
38 QVariant value(
int pos)
override;
39 const char** recordData()
const override;
40 bool drv_storeCurrentRecord(KDbRecordData* data)
const override;
41 bool drv_open(
const KDbEscapedString& sql)
override;
42 bool drv_close()
override;
43 void drv_getNextRecord()
override;
44 void drv_appendCurrentRecordToBuffer()
override;
45 void drv_bufferMovePointerNext()
override;
46 void drv_bufferMovePointerPrev()
override;
47 void drv_bufferMovePointerTo(qint64 to)
override;
50 QString serverResultName()
const override;
54 MysqlCursorData *
const d;
55 Q_DISABLE_COPY(MysqlCursor)
Provides database connection, allowing queries and data modification.
Provides database cursor functionality.
KDbQuerySchema * query() const
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.