aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-09-07 10:06:48 +0000
committerstuconnolly <stuart02@gmail.com>2012-09-07 10:06:48 +0000
commiteb2428e792b81351e1ba4c74adb2f8f18e9a7467 (patch)
treeaada4909b8cd0d893a054847cf59a46400daece8 /Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
parente8bf8bf422b83a55cefd1bdf149f380a822eb880 (diff)
downloadsequelpro-eb2428e792b81351e1ba4c74adb2f8f18e9a7467.tar.gz
sequelpro-eb2428e792b81351e1ba4c74adb2f8f18e9a7467.tar.bz2
sequelpro-eb2428e792b81351e1ba4c74adb2f8f18e9a7467.zip
Remove native object to binary conversion.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m7
1 files changed, 0 insertions, 7 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
index 4e45ec40..3e72163e 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m
@@ -54,13 +54,6 @@ static FLXPostgresOid FLXPostgresTypeStringTypes[] =
return [NSArray arrayWithObject:@"NSCFString"];
}
-- (NSData *)remoteDataFromObject:(id)object type:(FLXPostgresOid *)type
-{
- if (!object || !type || ![object isKindOfClass:[NSString class]]) return nil;
-
- return [(NSString *)object dataUsingEncoding:[_connection stringEncoding]];
-}
-
- (id)objectFromRemoteData:(const void *)bytes length:(NSUInteger)length type:(FLXPostgresOid)type
{
if (!bytes || !type) return nil;