RBSQLiteMutableResultSet Class Reference
Inherits from | RBSQLiteResultSet : NSObject |
---|---|
Declared in | RBSQLiteResultSet.h |
Overview
Mutable version of RBSQLiteResultSet
that can be used to setup a tabular structure (rows and columns) to which data can be added to later.
– addColumn:SQLiteType:
Adds a new column to the result set structure.
- (BOOL)addColumn:(nonnull NSString *)name SQLiteType:(int)type
Parameters
name |
The column name. |
---|---|
type |
The column type as an SQLITE type (SQLITE_INTEGER, SQLITE_FLOAT, SQLITE_TEXT, SQLITE_BLOB, SQLITE_NULL). |
Return Value
Returns YES
if successful.
Discussion
Adds a new column to the result set structure.
Declared In
RBSQLiteResultSet.h
– currentRow
Returns the current row index.
- (NSUInteger)currentRow
Return Value
The row index.
Discussion
Returns the current row index.
Declared In
RBSQLiteResultSet.h
– currentColumn
Returns the current column index.
- (NSUInteger)currentColumn
Return Value
The column index.
Discussion
Returns the current column index.
Declared In
RBSQLiteResultSet.h
– pushFieldValue:
Adds a new value to the data array.
- (BOOL)pushFieldValue:(nonnull id)value
Parameters
value |
The value. |
---|
Return Value
Returns YES
if successful.
Discussion
Adds a new value to the data array.
Declared In
RBSQLiteResultSet.h