![]() |
Couchbase Lite
Objective-C API for iOS and Mac OS
|
CBLDatabase methods for use with CBLModel.
Instance Methods | |
| () | - CBLArrayOf |
| All CBLModels associated with this database whose needsSave is true. More... | |
| (BOOL) | - saveAllModels: |
| Saves changes to all CBLModels associated with this database whose needsSave is true. More... | |
| (BOOL) | - autosaveAllModels: |
| Immediately runs any pending autosaves for all CBLModels associated with this database. More... | |
| - CBLArrayOf | (CBLModel *) |
All CBLModels associated with this database whose needsSave is true.
Extends class CBLDatabase.
| - (BOOL) saveAllModels: | (NSError **) | outError |
Saves changes to all CBLModels associated with this database whose needsSave is true.
Extends class CBLDatabase.
| - (BOOL) autosaveAllModels: | (NSError **) | outError |
Immediately runs any pending autosaves for all CBLModels associated with this database.
(On iOS, this will automatically be called when the application is about to quit or go into the background. On Mac OS it is NOT called automatically.)
Extends class CBLDatabase.