minor
This commit is contained in:
parent
87b46a808a
commit
988ea3688b
|
|
@ -86,6 +86,7 @@ public slots:
|
|||
void setDriver(QString driver);
|
||||
|
||||
private:
|
||||
//TODO: move me to database_p.h
|
||||
QSet<TableSetBase *> tableSets;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -35,9 +35,11 @@
|
|||
|
||||
|
||||
#ifdef NUT_NAMESPACE
|
||||
//TODO: remove unused macro
|
||||
# define __NUT_NAMESPACE_PERFIX NUT_NAMESPACE::
|
||||
# define NUT_WRAP_NAMESPACE(x) NUT_NAMESPACE::x
|
||||
#else
|
||||
//TODO: remove unused macro
|
||||
# define __NUT_NAMESPACE_PERFIX
|
||||
# define NUT_WRAP_NAMESPACE(x) x
|
||||
#endif
|
||||
|
|
@ -113,8 +115,8 @@ public: \
|
|||
# define FROM(x) (x->query())
|
||||
# define WHERE(x) ->setWhere(x)
|
||||
# define JOIN(x) ->join(#x)
|
||||
# define ORDERBY(x) ->orderBy(#x, "ASC");
|
||||
# define ORDERBY_DESC(x) ->orderBy(#x, "DESC");
|
||||
# define ORDERBY(x) ->orderBy(#x);
|
||||
# define ORDERBY_DESC(x) ->orderBy(!#x);
|
||||
|
||||
# define SELECT() ->toList()
|
||||
# define COUNT() ->count()
|
||||
|
|
|
|||
Loading…
Reference in New Issue