mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-15 13:22:12 +01:00
added ObjectSnapshot as foundation for datasources API
This commit is contained in:
1 parent
cf46b45e8e
commit
79655ffde5
50 files changed
+434
-81
No files matched your search
@@ -223,7 +223,7 @@ public final class SQLiteStore: LocalStorage {
|
||||
var storeOptions = self.storeOptions ?? [:]
|
||||
storeOptions[NSSQLitePragmasOption] = ["journal_mode": "DELETE"]
|
||||
try coordinator.addPersistentStore(
|
||||
ofType: type(of: self).storeType,
|
||||
ofType: Self.storeType,
|
||||
configurationName: self.configuration,
|
||||
at: fileURL,
|
||||
options: storeOptions
|
||||
@@ -289,7 +289,7 @@ public final class SQLiteStore: LocalStorage {
|
||||
var storeOptions = self.storeOptions ?? [:]
|
||||
storeOptions[NSSQLitePragmasOption] = ["journal_mode": "DELETE"]
|
||||
let store = try journalUpdatingCoordinator.addPersistentStore(
|
||||
ofType: type(of: self).storeType,
|
||||
ofType: Self.storeType,
|
||||
configurationName: self.configuration,
|
||||
at: fileURL,
|
||||
options: storeOptions
|
||||
|
||||
Reference in new issue
Block a user