diff options
author | stuconnolly <stuart02@gmail.com> | 2012-07-14 10:26:44 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-07-14 10:26:44 +0000 |
commit | 6c1a1acdb2e030b08ccd08dc6eea70b3657ebb4c (patch) | |
tree | a2b9c82ab3db6f149ee6a67affd94ecda30a5b9b /Frameworks/QueryKit/Tests/QKSelectQueryOrderByTests.m | |
parent | a2d65d3fa1e58d91d47260cdbbbeae7c99aa04f8 (diff) | |
download | sequelpro-6c1a1acdb2e030b08ccd08dc6eea70b3657ebb4c.tar.gz sequelpro-6c1a1acdb2e030b08ccd08dc6eea70b3657ebb4c.tar.bz2 sequelpro-6c1a1acdb2e030b08ccd08dc6eea70b3657ebb4c.zip |
Bunch of improvements including uderlying database system support.
Diffstat (limited to 'Frameworks/QueryKit/Tests/QKSelectQueryOrderByTests.m')
-rw-r--r-- | Frameworks/QueryKit/Tests/QKSelectQueryOrderByTests.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Frameworks/QueryKit/Tests/QKSelectQueryOrderByTests.m b/Frameworks/QueryKit/Tests/QKSelectQueryOrderByTests.m index cb1a472f..4ea01e4a 100644 --- a/Frameworks/QueryKit/Tests/QKSelectQueryOrderByTests.m +++ b/Frameworks/QueryKit/Tests/QKSelectQueryOrderByTests.m @@ -63,7 +63,7 @@ - (void)testSelectQueryOrderByAscendingWithoutQuotesIsCorrect { - [_query setUseQuotes:NO]; + [_query setUseQuotedIdentifiers:NO]; [_query orderByField:QKTestFieldOne descending:NO]; NSString *query = [NSString stringWithFormat:@"ORDER BY %@ ASC", QKTestFieldOne]; @@ -82,7 +82,7 @@ - (void)testSelectQueryOrderByMultipleFieldsAscendingWithoutQuotesIsCorrect { - [_query setUseQuotes:NO]; + [_query setUseQuotedIdentifiers:NO]; [_query orderByFields:[NSArray arrayWithObjects:QKTestFieldOne, QKTestFieldTwo, nil] descending:NO]; NSString *query = [NSString stringWithFormat:@"ORDER BY %@, %@ ASC", QKTestFieldOne, QKTestFieldTwo]; @@ -101,7 +101,7 @@ - (void)testSelectQueryOrderByDescendingWithoutQuotesIsCorrect { - [_query setUseQuotes:NO]; + [_query setUseQuotedIdentifiers:NO]; [_query orderByField:QKTestFieldOne descending:YES]; NSString *query = [NSString stringWithFormat:@"ORDER BY %@ DESC", QKTestFieldOne]; @@ -120,7 +120,7 @@ - (void)testSelectQueryOrderByMultipleFieldsDescendingWithoutQuotesIsCorrect { - [_query setUseQuotes:NO]; + [_query setUseQuotedIdentifiers:NO]; [_query orderByFields:[NSArray arrayWithObjects:QKTestFieldOne, QKTestFieldTwo, nil] descending:YES]; NSString *query = [NSString stringWithFormat:@"ORDER BY %@, %@ DESC", QKTestFieldOne, QKTestFieldTwo]; |