aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/QueryKit/Source/QKQuery.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-07-10 10:25:09 +0000
committerstuconnolly <stuart02@gmail.com>2012-07-10 10:25:09 +0000
commit4aebe5fb9cdcd145ef3b3135700e27d13315effd (patch)
treeee498c6797ff797a063193c53b2825a081055eab /Frameworks/QueryKit/Source/QKQuery.h
parent80645cb916efdf81e0a7ec0b8d6e0c1be5b05da3 (diff)
downloadsequelpro-4aebe5fb9cdcd145ef3b3135700e27d13315effd.tar.gz
sequelpro-4aebe5fb9cdcd145ef3b3135700e27d13315effd.tar.bz2
sequelpro-4aebe5fb9cdcd145ef3b3135700e27d13315effd.zip
Additional QueryKit tests.
Diffstat (limited to 'Frameworks/QueryKit/Source/QKQuery.h')
-rw-r--r--Frameworks/QueryKit/Source/QKQuery.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/Frameworks/QueryKit/Source/QKQuery.h b/Frameworks/QueryKit/Source/QKQuery.h
index 1cb93d15..e3b7f148 100644
--- a/Frameworks/QueryKit/Source/QKQuery.h
+++ b/Frameworks/QueryKit/Source/QKQuery.h
@@ -62,37 +62,41 @@
/**
* @property _database The database the query is to be run against (optional).
*/
-@property (readwrite, retain, getter=database, setter=setDatabase:) NSString *_database;
+@property(readwrite, retain, getter=database, setter=setDatabase:) NSString *_database;
/**
* @property _table The table the query is to be run against.
*/
-@property (readwrite, retain, getter=table, setter=setTable:) NSString *_table;
+@property(readwrite, retain, getter=table, setter=setTable:) NSString *_table;
/**
* @property _parameters The parameters (constraints) of the query.
*/
-@property (readwrite, retain, getter=parameters, setter=setParameters:) NSMutableArray *_parameters;
+@property(readwrite, retain, getter=parameters, setter=setParameters:) NSMutableArray *_parameters;
/**
* @property _fields The fields of the query.
*/
-@property (readwrite, retain, getter=fields, setter=setFields:) NSMutableArray *_fields;
+@property(readwrite, retain, getter=fields, setter=setFields:) NSMutableArray *_fields;
/**
* @property _updateFields The fields of an UPDATE query.
*/
-@property (readwrite, retain, getter=updateParameters, setter=setUpdateParameters:) NSMutableArray *_updateParameters;
+@property(readwrite, retain, getter=updateParameters, setter=setUpdateParameters:) NSMutableArray *_updateParameters;
/**
* @property _queryType The type of query to be built.
*/
-@property (readwrite, assign, getter=queryType, setter=setQueryType:) QKQueryType _queryType;
+@property(readwrite, assign, getter=queryType, setter=setQueryType:) QKQueryType _queryType;
/**
* @property _useQuotes Indicates whether or not the query's fields should be quoted.
*/
-@property (readwrite, assign, getter=useQuotes) BOOL _useQuotes;
+@property(readwrite, assign, getter=useQuotes) BOOL _useQuotes;
+
+@property(readonly, getter=groupByFields) NSMutableArray *_groupByFields;
+
+@property(readonly, getter=orderByFields) NSMutableArray *_orderByFields;
+ (QKQuery *)queryTable:(NSString *)table;
+ (QKQuery *)selectQueryFromTable:(NSString *)table;