]> err.no Git - sope/blob - sope-gdl1/SQLite3/SQLiteExpression.h
fixed gdltest
[sope] / sope-gdl1 / SQLite3 / SQLiteExpression.h
1 /* 
2    SQLiteExpression.h
3
4    Copyright (C) 1999-2005 MDlink online service center GmbH and Helge Hess
5
6    Author: Helge Hess (helge@mdlink.de)
7
8    This file is part of the SQLite Adaptor Library
9
10    This library is free software; you can redistribute it and/or
11    modify it under the terms of the GNU Library General Public
12    License as published by the Free Software Foundation; either
13    version 2 of the License, or (at your option) any later version.
14
15    This library is distributed in the hope that it will be useful,
16    but WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    Library General Public License for more details.
19
20    You should have received a copy of the GNU Library General Public
21    License along with this library; see the file COPYING.LIB.
22    If not, write to the Free Software Foundation,
23    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 */
25
26 #ifndef ___SQLite3_SQLExpression_H___
27 #define ___SQLite3_SQLExpression_H___
28
29 #include <GDLAccess/EOSQLExpression.h>
30
31 @class NSString, NSArray;
32 @class EOSQLQualifier, EOAdaptorChannel;
33
34 @interface SQLiteExpression : EOSQLExpression
35
36 + (Class)selectExpressionClass;
37
38 @end
39
40 @interface SQLiteSelectSQLExpression : EOSelectSQLExpression
41 {
42   BOOL lock;
43 }
44
45 - (id)selectExpressionForAttributes:(NSArray *)attributes
46   lock:(BOOL)flag
47   qualifier:(EOSQLQualifier *)qualifier
48   fetchOrder:(NSArray *)fetchOrder
49   channel:(EOAdaptorChannel *)channel;
50
51 - (NSString *)fromClause;
52
53 @end
54
55 #endif /* ___SQLite3_SQLExpression_H___ */