Changeset View
Changeset View
Standalone View
Standalone View
src/drivers/sqlite/SqliteConnection.h
Show All 33 Lines | 32 | - extraSqliteExtensionPaths (read/write, QStringList): adds extra seach paths for SQLite | |||
---|---|---|---|---|---|
34 | is called. Absolute paths are recommended. | 34 | is called. Absolute paths are recommended. | ||
35 | */ | 35 | */ | ||
36 | class SqliteConnection : public KDbConnection | 36 | class SqliteConnection : public KDbConnection | ||
37 | { | 37 | { | ||
38 | Q_DECLARE_TR_FUNCTIONS(SqliteConnection) | 38 | Q_DECLARE_TR_FUNCTIONS(SqliteConnection) | ||
39 | public: | 39 | public: | ||
40 | virtual ~SqliteConnection(); | 40 | virtual ~SqliteConnection(); | ||
41 | 41 | | |||
42 | KDbCursor* prepareQuery(const KDbEscapedString& sql, int cursor_options = 0) Q_DECL_OVERRIDE Q_REQUIRED_RESULT; | 42 | KDbCursor* prepareQuery(const KDbEscapedString& sql, | ||
43 | KDbCursor* prepareQuery(KDbQuerySchema* query, int cursor_options = 0) Q_DECL_OVERRIDE Q_REQUIRED_RESULT; | 43 | KDbCursor::Options options = KDbCursor::Option::None) Q_DECL_OVERRIDE Q_REQUIRED_RESULT; | ||
44 | KDbCursor* prepareQuery(KDbQuerySchema* query, | ||||
45 | KDbCursor::Options options = KDbCursor::Option::None) Q_DECL_OVERRIDE Q_REQUIRED_RESULT; | ||||
44 | 46 | | |||
45 | KDbPreparedStatementInterface* prepareStatementInternal() Q_DECL_OVERRIDE Q_REQUIRED_RESULT; | 47 | KDbPreparedStatementInterface* prepareStatementInternal() Q_DECL_OVERRIDE Q_REQUIRED_RESULT; | ||
46 | 48 | | |||
47 | protected: | 49 | protected: | ||
48 | /*! Used by driver */ | 50 | /*! Used by driver */ | ||
49 | SqliteConnection(KDbDriver *driver, const KDbConnectionData& connData, | 51 | SqliteConnection(KDbDriver *driver, const KDbConnectionData& connData, | ||
50 | const KDbConnectionOptions &options); | 52 | const KDbConnectionOptions &options); | ||
51 | 53 | | |||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |