Nut
0.1
Main Page
Classes
Files
File List
All
Classes
Functions
src
query_p.h
1
/**************************************************************************
2
**
3
** This file is part of Nut project.
4
** https://github.com/HamedMasafi/Nut
5
**
6
** Nut is free software: you can redistribute it and/or modify
7
** it under the terms of the GNU Lesser General Public License as published by
8
** the Free Software Foundation, either version 3 of the License, or
9
** (at your option) any later version.
10
**
11
** Nut is distributed in the hope that it will be useful,
12
** but WITHOUT ANY WARRANTY; without even the implied warranty of
13
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
** GNU Lesser General Public License for more details.
15
**
16
** You should have received a copy of the GNU Lesser General Public License
17
** along with Nut. If not, see <http://www.gnu.org/licenses/>.
18
**
19
**************************************************************************/
20
21
#ifndef QUERY_P_H
22
#define QUERY_P_H
23
24
#include "wherephrase.h"
25
26
#include <QList>
27
#include <QString>
28
29
class
Database
;
30
class
TableSetBase
;
31
//template<class T>
32
class
QueryBase
;
33
class
QueryPrivate
{
34
QueryBase
*q_ptr;
35
Q_DECLARE_PUBLIC(
QueryBase
)
36
37
public
:
38
QueryPrivate
(
QueryBase
*parent);
39
QString tableName;
40
QString select;
41
Database
*database;
42
TableSetBase
*tableSet;
43
QString joinClassName;
44
QList<WherePhrase> wheres;
45
QHash<QString, QString> orders;
46
QList<WherePhrase> orderPhrases;
47
};
48
49
#endif // QUERY_P_H
Generated on Sun Jun 5 2016 17:32:34 for Nut by
1.8.1.2