aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m23
1 files changed, 0 insertions, 23 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m
index d8bf59b7..679237d1 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionQueryPreparation.m
@@ -29,29 +29,6 @@
@implementation FLXPostgresConnection (FLXPostgresConnectionQueryPreparation)
/**
- * Quotes the supplied object in accordance with it's data type.
- *
- * @param object The object to quote.
- *
- * @return A string representation of the quoted object.
- */
-- (NSString *)quote:(NSObject *)object
-{
- if (!object || [object isKindOfClass:[NSNull class]]) return @"NULL";
-
- id <FLXPostgresTypeHandlerProtocol> handler = [self typeHandlerForClass:[object class]];
-
- if (!handler) {
- [FLXPostgresException raise:FLXPostgresConnectionErrorDomain
- reason:[NSString stringWithFormat:@"Unsupported class '%@'", NSStringFromClass([object class])]];
-
- return nil;
- }
-
- return [handler quotedStringFromObject:object];
-}
-
-/**
* Creates a prepared statment from the supplied query.
*
* @param query The query to create the statement from.