mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-29 22:01:56 +02:00
@@ -733,7 +733,7 @@ or multiple objects at once with the `importUniqueObjects(...)` method:
|
|||||||
```swift
|
```swift
|
||||||
CoreStore.beginAsynchronous { (transaction) -> Void in
|
CoreStore.beginAsynchronous { (transaction) -> Void in
|
||||||
let jsonArray: [[String: AnyObject]] = // ...
|
let jsonArray: [[String: AnyObject]] = // ...
|
||||||
try! transaction.importObjects(
|
try! transaction.importUniqueObjects(
|
||||||
Into(MyPersonEntity),
|
Into(MyPersonEntity),
|
||||||
sourceArray: jsonArray
|
sourceArray: jsonArray
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user