@property (nonatomic, readonly) SInt32 userVersion;
- (BOOL)migrateDatabase:(SFSQLite *)db fromVersion:(SInt32)version;
@property (nonatomic, readonly) SInt32 userVersion;
- (BOOL)migrateDatabase:(SFSQLite *)db fromVersion:(SInt32)version;
// Wrapper around the SQLite API. Typically subclassed to add table accessor methods.
@interface SFSQLite : NSObject {
// Wrapper around the SQLite API. Typically subclassed to add table accessor methods.
@interface SFSQLite : NSObject {
@property (nonatomic, assign) SFSQLiteSynchronousMode synchronousMode;
@property (nonatomic, readonly) BOOL isOpen;
@property (nonatomic, readonly) BOOL hasMigrated;
@property (nonatomic, assign) SFSQLiteSynchronousMode synchronousMode;
@property (nonatomic, readonly) BOOL isOpen;
@property (nonatomic, readonly) BOOL hasMigrated;
@property (nonatomic, assign) BOOL traced;
@property (nonatomic, strong) id<SFSQLiteDelegate> delegate;
@property (nonatomic, assign) BOOL traced;
@property (nonatomic, strong) id<SFSQLiteDelegate> delegate;
// The rowID assigned to the last record inserted into the database.
- (SFSQLiteRowID)lastInsertRowID;
// The rowID assigned to the last record inserted into the database.
- (SFSQLiteRowID)lastInsertRowID;
-- (void)executeSQL:(NSString *)format, ... NS_FORMAT_FUNCTION(1, 2);
-- (void)executeSQL:(NSString *)format arguments:(va_list)args NS_FORMAT_FUNCTION(1, 0);
+- (BOOL)executeSQL:(NSString *)format, ... NS_FORMAT_FUNCTION(1, 2);
+- (BOOL)executeSQL:(NSString *)format arguments:(va_list)args NS_FORMAT_FUNCTION(1, 0);
// Prepared statement pool accessors. Statements must be reset after they're used.
- (SFSQLiteStatement *)statementForSQL:(NSString *)SQL;
// Prepared statement pool accessors. Statements must be reset after they're used.
- (SFSQLiteStatement *)statementForSQL:(NSString *)SQL;