From c8f0fee24cdd1ebd3eba7bdf7398225198030624 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Fri, 9 Oct 2020 22:10:34 +0000 Subject: [PATCH] Make row{Array,Dictionary} a property FossilOrigin-Name: 643e6c6da7f6b2f2b05d9691118dfbddfb29a2ac8a296da046e5587bb42dd722 --- src/SL3PreparedStatement.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SL3PreparedStatement.h b/src/SL3PreparedStatement.h index 69d11e4..f8066f6 100644 --- a/src/SL3PreparedStatement.h +++ b/src/SL3PreparedStatement.h @@ -37,6 +37,10 @@ OF_ASSUME_NONNULL_BEGIN sqlite3_stmt *_stmt; } +@property (readonly, nonatomic) OFArray *rowArray; +@property (readonly, nonatomic) + OFDictionary OF_GENERIC(OFString *, id) *rowDictionary; + - (void)bindWithArray: (OFArray *)array; - (void)bindWithDictionary: (OFDictionary OF_GENERIC(OFString *, id) *)dictionary; @@ -45,8 +49,6 @@ OF_ASSUME_NONNULL_BEGIN - (id)objectForColumn: (size_t)column; - (size_t)columnCount; - (OFString *)nameForColumn: (size_t)column; -- (OFArray *)rowArray; -- (OFDictionary OF_GENERIC(OFString *, id) *)rowDictionary; - (void)reset; @end