diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-07 10:06:48 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-07 10:06:48 +0000 |
commit | eb2428e792b81351e1ba4c74adb2f8f18e9a7467 (patch) | |
tree | aada4909b8cd0d893a054847cf59a46400daece8 /Frameworks/PostgresKit/Source/FLXPostgresTypeStringHandler.m | |
parent | e8bf8bf422b83a55cefd1bdf149f380a822eb880 (diff) | |
download | sequelpro-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.m | 7 |
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; |