Changeset View
Changeset View
Standalone View
Standalone View
src/KDbConnectionProxy.h
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | 38 | public: | |||
---|---|---|---|---|---|
123 | QList<KDbTransaction> transactions(); | 123 | QList<KDbTransaction> transactions(); | ||
124 | 124 | | |||
125 | bool autoCommit() const; | 125 | bool autoCommit() const; | ||
126 | 126 | | |||
127 | bool setAutoCommit(bool on); | 127 | bool setAutoCommit(bool on); | ||
128 | 128 | | |||
129 | KDbEscapedString escapeString(const QString& str) const Q_DECL_OVERRIDE; | 129 | KDbEscapedString escapeString(const QString& str) const Q_DECL_OVERRIDE; | ||
130 | 130 | | |||
131 | KDbCursor* prepareQuery(const KDbEscapedString& sql, int cursor_options = 0) Q_DECL_OVERRIDE; | 131 | KDbCursor* prepareQuery(const KDbEscapedString& sql, KDbCursor::Options options = KDbCursor::Option::None) Q_DECL_OVERRIDE; | ||
132 | 132 | | |||
133 | KDbCursor* prepareQuery(KDbQuerySchema* query, int cursor_options = 0) Q_DECL_OVERRIDE; | 133 | KDbCursor* prepareQuery(KDbQuerySchema* query, KDbCursor::Options options = KDbCursor::Option::None) Q_DECL_OVERRIDE; | ||
134 | 134 | | |||
135 | KDbCursor* prepareQuery(KDbTableSchema* table, int cursor_options = 0); | 135 | KDbCursor* prepareQuery(KDbTableSchema* table, KDbCursor::Options options = KDbCursor::Option::None); | ||
136 | 136 | | |||
137 | KDbCursor* executeQuery(const KDbEscapedString& sql, int cursor_options = 0); | 137 | KDbCursor* executeQuery(const KDbEscapedString& sql, KDbCursor::Options options = KDbCursor::Option::None); | ||
138 | 138 | | |||
139 | KDbCursor* executeQuery(KDbQuerySchema* query, const QList<QVariant>& params, | 139 | KDbCursor* executeQuery(KDbQuerySchema* query, const QList<QVariant>& params, | ||
140 | int cursor_options = 0); | 140 | KDbCursor::Options options = KDbCursor::Option::None); | ||
141 | 141 | | |||
142 | KDbCursor* executeQuery(KDbQuerySchema* query, int cursor_options = 0); | 142 | KDbCursor* executeQuery(KDbQuerySchema* query, KDbCursor::Options options = KDbCursor::Option::None); | ||
143 | 143 | | |||
144 | KDbCursor* executeQuery(KDbTableSchema* table, int cursor_options = 0); | 144 | KDbCursor* executeQuery(KDbTableSchema* table, KDbCursor::Options options = KDbCursor::Option::None); | ||
145 | 145 | | |||
146 | bool deleteCursor(KDbCursor *cursor); | 146 | bool deleteCursor(KDbCursor *cursor); | ||
147 | 147 | | |||
148 | KDbTableSchema* tableSchema(int tableId); | 148 | KDbTableSchema* tableSchema(int tableId); | ||
149 | 149 | | |||
150 | KDbTableSchema* tableSchema(const QString& tableName); | 150 | KDbTableSchema* tableSchema(const QString& tableName); | ||
151 | 151 | | |||
152 | KDbQuerySchema* querySchema(int queryId); | 152 | KDbQuerySchema* querySchema(int queryId); | ||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |