RBSQLiteResult Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBSQLiteResult.h |
isValid
Indicates that the there were no errors either from SQLite or otherwise.
@property (nonatomic, readonly) BOOL isValid
Discussion
Indicates that the there were no errors either from SQLite or otherwise.
Declared In
RBSQLiteResult.h
errorMessage
The error message if available detailing the error.
@property (nonatomic, readonly, nullable) NSString *errorMessage
Discussion
The error message if available detailing the error.
Declared In
RBSQLiteResult.h
sqliteErrorCode
The SQLite error code for the issue, for more details please visit https://www.sqlite.org/c3ref/c_abort.html
@property (nonatomic, readonly) NSInteger sqliteErrorCode
Discussion
The SQLite error code for the issue, for more details please visit https://www.sqlite.org/c3ref/c_abort.html
Declared In
RBSQLiteResult.h
resultSet
A RBSQLiteResultSet
containing the data from a returned SQL query.
@property (nonatomic, readonly, nullable) RBSQLiteResultSet *resultSet
Discussion
A RBSQLiteResultSet
containing the data from a returned SQL query.
Declared In
RBSQLiteResult.h
errorSource
If an error occured, this will indicate the source of the failure.
@property (nonatomic, readonly) RBSQLiteResultErrorSource errorSource
Discussion
If an error occured, this will indicate the source of the failure.
Declared In
RBSQLiteResult.h
– initWithResultSet:
Initializes a new RBSQLiteResult
object and populating it with an existing RBSQLiteResultSet
.
- (nonnull instancetype)initWithResultSet:(nonnull RBSQLiteResultSet *)resultSet
Parameters
resultSet |
The |
---|
Return Value
A newly initialized and populated RBSQLiteResult
object.
Discussion
Initializes a new RBSQLiteResult
object and populating it with an existing RBSQLiteResultSet
.
Declared In
RBSQLiteResult.h
– initWithErrorMessage:
Initializes a new RBSQLiteResult
object indicating a (non SQLite) failure occurred.
- (nonnull instancetype)initWithErrorMessage:(nonnull NSString *)errorMessage
Parameters
errorMessage |
The error message. |
---|
Return Value
A newly initialized RBSQLiteResult
object.
Discussion
Initializes a new RBSQLiteResult
object indicating a (non SQLite) failure occurred.
Declared In
RBSQLiteResult.h
– initWithSQLiteErrorCode:withMessage:
Initializes a new RBSQLiteResult
object indicating an SQLite) failure occurred.
- (nonnull instancetype)initWithSQLiteErrorCode:(NSInteger)sqliteErrorCode withMessage:(nonnull NSString *)errorMessage
Parameters
sqliteErrorCode |
The SQLite error code, for more details please visit https://www.sqlite.org/c3ref/c_abort.html |
---|---|
errorMessage |
The error message. |
Return Value
A newly initialized RBSQLiteResult
object.
Discussion
Initializes a new RBSQLiteResult
object indicating an SQLite) failure occurred.
Declared In
RBSQLiteResult.h