Changeset View
Changeset View
Standalone View
Standalone View
src/server/storage/querybuilder.h
Show First 20 Lines • Show All 264 Lines • ▼ Show 20 Line(s) | 261 | private: | |||
---|---|---|---|---|---|
265 | void buildCaseStatement(QString *query, const Query::Case &caseStmt); | 265 | void buildCaseStatement(QString *query, const Query::Case &caseStmt); | ||
266 | 266 | | |||
267 | /** | 267 | /** | ||
268 | * SQLite does not support JOINs with UPDATE, so we have to convert it into | 268 | * SQLite does not support JOINs with UPDATE, so we have to convert it into | ||
269 | * subqueries | 269 | * subqueries | ||
270 | */ | 270 | */ | ||
271 | void sqliteAdaptUpdateJoin(Query::Condition &cond); | 271 | void sqliteAdaptUpdateJoin(Query::Condition &cond); | ||
272 | 272 | | |||
273 | bool retryLastTransaction(bool rollback = false); | | |||
274 | | ||||
275 | private: | 273 | private: | ||
276 | QString mTable; | 274 | QString mTable; | ||
277 | DbType::Type mDatabaseType; | 275 | DbType::Type mDatabaseType; | ||
278 | Query::Condition mRootCondition[NUM_CONDITIONS]; | 276 | Query::Condition mRootCondition[NUM_CONDITIONS]; | ||
279 | QSqlQuery mQuery; | 277 | QSqlQuery mQuery; | ||
280 | QueryType mType; | 278 | QueryType mType; | ||
281 | QStringList mColumns; | 279 | QStringList mColumns; | ||
282 | QVector<QVariant> mBindValues; | 280 | QVector<QVariant> mBindValues; | ||
Show All 22 Lines |