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/Source/QKQueryUpdateParameter.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/Source/QKQueryUpdateParameter.m')
-rw-r--r-- | Frameworks/QueryKit/Source/QKQueryUpdateParameter.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/QueryKit/Source/QKQueryUpdateParameter.m b/Frameworks/QueryKit/Source/QKQueryUpdateParameter.m index 8df3aba5..3c271e99 100644 --- a/Frameworks/QueryKit/Source/QKQueryUpdateParameter.m +++ b/Frameworks/QueryKit/Source/QKQueryUpdateParameter.m @@ -59,7 +59,7 @@ NSString *field = [_field stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; - [string appendFormat:@"%@%@%@", [self useQuotes] ? QUERY_QUOTE : EMPTY_STRING, field, [self useQuotes] ? QUERY_QUOTE : EMPTY_STRING]; + [string appendFormat:@"%1$@%2$@%1$@", [self useQuotedIdentifier] ? _identiferQuote : EMPTY_STRING, field]; [string appendString:@" = "]; [string appendFormat:(![_value isKindOfClass:[NSNumber class]]) ? @"'%@'" : @"%@", [_value description]]; |