Make row{Array,Dictionary} a property

FossilOrigin-Name: 643e6c6da7f6b2f2b05d9691118dfbddfb29a2ac8a296da046e5587bb42dd722
This commit is contained in:
Jonathan Schleifer 2020-10-09 22:10:34 +00:00
parent dd1d737f0f
commit c8f0fee24c

View file

@ -37,6 +37,10 @@ OF_ASSUME_NONNULL_BEGIN
sqlite3_stmt *_stmt; sqlite3_stmt *_stmt;
} }
@property (readonly, nonatomic) OFArray *rowArray;
@property (readonly, nonatomic)
OFDictionary OF_GENERIC(OFString *, id) *rowDictionary;
- (void)bindWithArray: (OFArray *)array; - (void)bindWithArray: (OFArray *)array;
- (void)bindWithDictionary: - (void)bindWithDictionary:
(OFDictionary OF_GENERIC(OFString *, id) *)dictionary; (OFDictionary OF_GENERIC(OFString *, id) *)dictionary;
@ -45,8 +49,6 @@ OF_ASSUME_NONNULL_BEGIN
- (id)objectForColumn: (size_t)column; - (id)objectForColumn: (size_t)column;
- (size_t)columnCount; - (size_t)columnCount;
- (OFString *)nameForColumn: (size_t)column; - (OFString *)nameForColumn: (size_t)column;
- (OFArray *)rowArray;
- (OFDictionary OF_GENERIC(OFString *, id) *)rowDictionary;
- (void)reset; - (void)reset;
@end @end