Changeset View
Changeset View
Standalone View
Standalone View
src/drivers/postgresql/PostgresqlCursor.h
Show All 27 Lines | |||||
28 | 28 | | |||
29 | class KDbConnection; | 29 | class KDbConnection; | ||
30 | class PostgresqlCursorData; | 30 | class PostgresqlCursorData; | ||
31 | 31 | | |||
32 | class PostgresqlCursor: public KDbCursor | 32 | class PostgresqlCursor: public KDbCursor | ||
33 | { | 33 | { | ||
34 | public: | 34 | public: | ||
35 | explicit PostgresqlCursor(KDbConnection* conn, const KDbEscapedString& sql, | 35 | explicit PostgresqlCursor(KDbConnection* conn, const KDbEscapedString& sql, | ||
36 | int options = NoOptions); | 36 | KDbCursor::Options options = KDbCursor::Option::None); | ||
37 | PostgresqlCursor(KDbConnection* conn, KDbQuerySchema* query, int options = NoOptions); | 37 | PostgresqlCursor(KDbConnection* conn, KDbQuerySchema* query, | ||
38 | KDbCursor::Options options = KDbCursor::Option::None); | ||||
38 | virtual ~PostgresqlCursor(); | 39 | virtual ~PostgresqlCursor(); | ||
39 | 40 | | |||
40 | virtual QVariant value(int pos); | 41 | virtual QVariant value(int pos); | ||
41 | virtual const char** recordData() const; | 42 | virtual const char** recordData() const; | ||
42 | virtual bool drv_storeCurrentRecord(KDbRecordData* data) const; | 43 | virtual bool drv_storeCurrentRecord(KDbRecordData* data) const; | ||
43 | virtual bool drv_open(const KDbEscapedString& sql); | 44 | virtual bool drv_open(const KDbEscapedString& sql); | ||
44 | virtual bool drv_close(); | 45 | virtual bool drv_close(); | ||
45 | virtual void drv_getNextRecord(); | 46 | virtual void drv_getNextRecord(); | ||
Show All 19 Lines |