Changeset View
Changeset View
Standalone View
Standalone View
src/drivers/sqlite/SqliteCursor.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 40 | //! @todo virtual const char *** bufferData() | |||
---|---|---|---|---|---|
43 | 43 | | |||
44 | virtual bool drv_storeCurrentRecord(KDbRecordData* data) const; | 44 | virtual bool drv_storeCurrentRecord(KDbRecordData* data) const; | ||
45 | 45 | | |||
46 | //! Implemented for KDbResultable | 46 | //! Implemented for KDbResultable | ||
47 | virtual QString serverResultName() const; | 47 | virtual QString serverResultName() const; | ||
48 | 48 | | |||
49 | protected: | 49 | protected: | ||
50 | /*! KDbCursor will operate on @a conn, raw @a sql statement will be used to execute query. */ | 50 | /*! KDbCursor will operate on @a conn, raw @a sql statement will be used to execute query. */ | ||
51 | SqliteCursor(SqliteConnection* conn, const KDbEscapedString& sql, int options = NoOptions); | 51 | SqliteCursor(SqliteConnection* conn, const KDbEscapedString& sql, | ||
52 | Options options = KDbCursor::Option::None); | ||||
52 | 53 | | |||
53 | /*! KDbCursor will operate on @a conn, @a query schema will be used to execute query. */ | 54 | /*! KDbCursor will operate on @a conn, @a query schema will be used to execute query. */ | ||
54 | SqliteCursor(SqliteConnection* conn, KDbQuerySchema* query, | 55 | SqliteCursor(SqliteConnection* conn, KDbQuerySchema* query, | ||
55 | int options = NoOptions); | 56 | Options options = KDbCursor::Option::None); | ||
56 | 57 | | |||
57 | virtual bool drv_open(const KDbEscapedString& sql); | 58 | virtual bool drv_open(const KDbEscapedString& sql); | ||
58 | 59 | | |||
59 | virtual bool drv_close(); | 60 | virtual bool drv_close(); | ||
60 | virtual void drv_getNextRecord(); | 61 | virtual void drv_getNextRecord(); | ||
61 | 62 | | |||
62 | virtual void drv_appendCurrentRecordToBuffer(); | 63 | virtual void drv_appendCurrentRecordToBuffer(); | ||
63 | virtual void drv_bufferMovePointerNext(); | 64 | virtual void drv_bufferMovePointerNext(); | ||
Show All 19 Lines |