CSLocalStorageOptions
@objc
public enum CSLocalStorageOptions : Int
The CSLocalStorageOptions
provides settings that tells the CSDataStack
how to setup the persistent store for CSLocalStorage
implementers.
See also
LocalStorageOptions
-
Tells the
DataStack
that the store should not be migrated or recreated, and should simply fail on model mismatchDeclaration
Swift
case none = 0
-
Tells the
DataStack
to delete and recreate the store on model mismatch, otherwise exceptions will be thrown on failure insteadDeclaration
Swift
case recreateStoreOnModelMismatch = 1
-
Tells the
DataStack
to prevent progressive migrations for the storeDeclaration
Swift
case preventProgressiveMigration = 2
-
Tells the
DataStack
to allow lightweight migration for the store when added synchronouslyDeclaration
Swift
case allowSynchronousLightweightMigration = 4