diff options
author | stuconnolly <stuart02@gmail.com> | 2012-09-08 08:57:46 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-09-08 08:57:46 +0000 |
commit | 82a0a113aab3eabc90592723e4770baa99861c9a (patch) | |
tree | 44cda1d2c840262d3e9ea84fba7390a12e051436 /Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h | |
parent | 11a170b25006f8a1546ab575c668fd95b49a43f7 (diff) | |
download | sequelpro-82a0a113aab3eabc90592723e4770baa99861c9a.tar.gz sequelpro-82a0a113aab3eabc90592723e4770baa99861c9a.tar.bz2 sequelpro-82a0a113aab3eabc90592723e4770baa99861c9a.zip |
Rework data type handling.
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h b/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h index 05b3acef..5c05af63 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h +++ b/Frameworks/PostgresKit/Source/FLXPostgresTypeHandlerProtocol.h @@ -20,8 +20,6 @@ // License for the specific language governing permissions and limitations under // the License. -#import "FLXPostgresTypes.h" - @class FLXPostgresConnection; /** @@ -51,14 +49,14 @@ - (NSArray *)classAliases; /** - * Convert the supplied remote data into an object. + * Convert the value at the specified row and column in the supplied result to a native object. * - * @param bytes The remote data to convert. - * @param length The length of the data. - * @param type The type of data. + * @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)objectFromRemoteData:(const void *)bytes length:(NSUInteger)length type:(FLXPostgresOid)type; +- (id)objectFromResult:(const PGresult *)result atRow:(unsigned int)row column:(unsigned int)column; @end |