CONFIG += c++11
This commit is contained in:
parent
fa21efde1b
commit
f0fa6bd6bf
2
nut.pri
2
nut.pri
|
|
@ -1,5 +1,7 @@
|
||||||
QT += core sql
|
QT += core sql
|
||||||
|
|
||||||
|
CONFIG += c++11
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/include
|
INCLUDEPATH += $$PWD/include
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ class SqlGeneratorBase : public QObject
|
||||||
|
|
||||||
Database *_database;
|
Database *_database;
|
||||||
public:
|
public:
|
||||||
|
//TODO: remove this enum
|
||||||
enum CommandType{
|
enum CommandType{
|
||||||
Select,
|
Select,
|
||||||
Insert,
|
Insert,
|
||||||
|
|
@ -96,7 +97,8 @@ public:
|
||||||
const int take = -1);
|
const int take = -1);
|
||||||
|
|
||||||
virtual QString selectCommand(const QString &tableName,
|
virtual QString selectCommand(const QString &tableName,
|
||||||
const AgregateType &t, const QString &agregateArg,
|
const AgregateType &t,
|
||||||
|
const QString &agregateArg,
|
||||||
const ConditionalPhrase &where,
|
const ConditionalPhrase &where,
|
||||||
const QList<RelationModel *> &joins,
|
const QList<RelationModel *> &joins,
|
||||||
const int skip = -1,
|
const int skip = -1,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue