How to insert multiple rows into master data at once

How to insert multiple rows with one operation? I do not want to use a loop to insert data. I would insert data with one query. Is there a way in Core Data to insert multiple rows together?

Thank.

+3
source share
1 answer

In Core Data, one NSManagedObjectcan be considered as having information associated with one row, for several rows you need to create a lot NSManagedObject. Therefore, without a loop, you cannot achieve inserting multiple rows.

+2
source

All Articles