diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-10 11:09:56 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-10 11:09:56 +0000 |
commit | 7dd33a85a537c410cd3b31d661731b1f8d1e7d59 (patch) | |
tree | 2881a6fc037767140f0d0a0eaed5000a58c98c09 /Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h | |
parent | 12ad4fae862bc157cd133b42ed8f204bc273058a (diff) | |
download | sequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.tar.gz sequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.tar.bz2 sequelpro-7dd33a85a537c410cd3b31d661731b1f8d1e7d59.zip |
Rework type handling; reducing the number of paremeters being passed around as well as libpq calls.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h b/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h index a0c04c26..8b22c158 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h @@ -27,6 +27,14 @@ */ @protocol FLXPostgresTypeHandlerProtocol +@property (readwrite, assign) NSUInteger row; + +@property (readwrite, assign) NSUInteger column; + +@property (readwrite, assign) FLXPostgresOid type; + +@property (readwrite, assign) const PGresult *result; + /** * The remote type values handled by this class (terminated by 0). * @@ -51,12 +59,8 @@ /** * Convert the value at the specified row and column in the supplied result to a native object. * - * @param result The result to extract the value from. - * @param row The row to extract the value from. - * @param column The column to extract the value from. - * * @return An object represenation of the data. */ -- (id)objectFromResult:(const PGresult *)result atRow:(NSUInteger)row column:(NSUInteger)column; +- (id)objectFromResult; @end |