CONFIG += c++11

This commit is contained in:
Hamed Masafi 2018-02-25 18:47:49 +03:30
parent fa21efde1b
commit f0fa6bd6bf
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
QT += core sql
CONFIG += c++11
INCLUDEPATH += $$PWD/include
HEADERS += \

View File

@ -41,6 +41,7 @@ class SqlGeneratorBase : public QObject
Database *_database;
public:
//TODO: remove this enum
enum CommandType{
Select,
Insert,
@ -96,7 +97,8 @@ public:
const int take = -1);
virtual QString selectCommand(const QString &tableName,
const AgregateType &t, const QString &agregateArg,
const AgregateType &t,
const QString &agregateArg,
const ConditionalPhrase &where,
const QList<RelationModel *> &joins,
const int skip = -1,