diff options
author | stuconnolly <stuart02@gmail.com> | 2012-07-10 10:25:09 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-07-10 10:25:09 +0000 |
commit | 4aebe5fb9cdcd145ef3b3135700e27d13315effd (patch) | |
tree | ee498c6797ff797a063193c53b2825a081055eab /Frameworks/QueryKit/Source/QKQuery.m | |
parent | 80645cb916efdf81e0a7ec0b8d6e0c1be5b05da3 (diff) | |
download | sequelpro-4aebe5fb9cdcd145ef3b3135700e27d13315effd.tar.gz sequelpro-4aebe5fb9cdcd145ef3b3135700e27d13315effd.tar.bz2 sequelpro-4aebe5fb9cdcd145ef3b3135700e27d13315effd.zip |
Additional QueryKit tests.
Diffstat (limited to 'Frameworks/QueryKit/Source/QKQuery.m')
-rw-r--r-- | Frameworks/QueryKit/Source/QKQuery.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Frameworks/QueryKit/Source/QKQuery.m b/Frameworks/QueryKit/Source/QKQuery.m index 124bb5d2..c60f3162 100644 --- a/Frameworks/QueryKit/Source/QKQuery.m +++ b/Frameworks/QueryKit/Source/QKQuery.m @@ -60,6 +60,8 @@ static NSString *QKNoQueryTableException = @"QKNoQueryTable"; @synthesize _fields; @synthesize _updateParameters; @synthesize _useQuotes; +@synthesize _groupByFields; +@synthesize _orderByFields; #pragma mark - #pragma mark Initialization @@ -85,7 +87,7 @@ static NSString *QKNoQueryTableException = @"QKNoQueryTable"; [self setFields:[[NSMutableArray alloc] init]]; [self setUpdateParameters:[[NSMutableArray alloc] init]]; [self setParameters:[[NSMutableArray alloc] init]]; - [self setQueryType:(QKQueryType)-1]; + [self setQueryType:QKUnknownQuery]; [self setUseQuotes:YES]; _orderDescending = NO; @@ -119,7 +121,8 @@ static NSString *QKNoQueryTableException = @"QKNoQueryTable"; { [self setTable:nil]; [self setDatabase:nil]; - [self setQueryType:(QKQueryType)-1]; + [self setUseQuotes:YES]; + [self setQueryType:QKUnknownQuery]; [_fields removeAllObjects]; [_parameters removeAllObjects]; |