mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-29 03:42:36 +01:00
WIP: prototyping new transaction structure
This commit is contained in:
1 parent
494965de23
commit
cb6d5b015b
7 files changed
+212
-51
No files matched your search
@@ -815,7 +815,7 @@ public protocol ImportableUniqueObject: ImportableObject {
|
||||
static var uniqueIDKeyPath: String { get }
|
||||
var uniqueIDValue: UniqueIDType { get set }
|
||||
|
||||
static func shouldInsert(from source: ImportSource, inn transaction: BaseDataTransaction) -> Bool
|
||||
static func shouldInsert(from source: ImportSource, in transaction: BaseDataTransaction) -> Bool
|
||||
static func shouldUpdate(from source: ImportSource, in transaction: BaseDataTransaction) -> Bool
|
||||
static func uniqueID(from source: ImportSource, in transaction: BaseDataTransaction) throws -> UniqueIDType?
|
||||
func didInsert(from source: ImportSource, in transaction: BaseDataTransaction) throws
|
||||
|
||||
Reference in new issue
Block a user