diff options
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]; |