One Logo Pool Ball
CoreData · IOS API REFERENCE

NSBatchInsertRequest

class · iOS 13.0+ · SDK 27.1

class NSBatchInsertRequest

Members (11)

init · iOS 13.0+ · Deprecated in iOS 14.0

init

TypeScript
static init(): NSBatchInsertRequest
Swift declaration
convenience init()
init · iOS 13.0+

init

TypeScript
static initEntityObjects(entity: NSEntityDescription, dictionaries: Array<Record<string, unknown>>): NSBatchInsertRequest
Swift declaration
init(entity: NSEntityDescription, objects dictionaries: [[String : Any]])
init · iOS 13.0+

init

TypeScript
static initEntityNameObjects(entityName: string, dictionaries: Array<Record<string, unknown>>): NSBatchInsertRequest
Swift declaration
init(entityName: String, objects dictionaries: [[String : Any]])
get · iOS 14.0+

dictionaryHandler

TypeScript
get dictionaryHandler(): (((arg0: _Foundation_NSMutableDictionary) => Promise<boolean>)) | null
Swift declaration
var dictionaryHandler: ((NSMutableDictionary) -> Bool)? { get set }
get · iOS 13.0+

entity

TypeScript
get entity(): (NSEntityDescription) | null
Swift declaration
var entity: NSEntityDescription? { get }
get · iOS 13.0+

entityName

TypeScript
get entityName(): string
Swift declaration
var entityName: String { get }
get · iOS 14.0+

managedObjectHandler

TypeScript
get managedObjectHandler(): (((arg0: NSManagedObject) => Promise<boolean>)) | null
Swift declaration
var managedObjectHandler: ((NSManagedObject) -> Bool)? { get set }
get · iOS 13.0+

objectsToInsert

TypeScript
get objectsToInsert(): (Array<Record<string, unknown>>) | null
Swift declaration
var objectsToInsert: [[String : Any]]? { get set }
set · iOS 13.0+

objectsToInsert

TypeScript
set objectsToInsert(value: (Array<Record<string, unknown>>) | null)
Swift declaration
var objectsToInsert: [[String : Any]]? { get set }
get · iOS 13.0+

resultType

TypeScript
get resultType(): NSBatchInsertRequestResultType
Swift declaration
var resultType: NSBatchInsertRequestResultType { get set }
set · iOS 13.0+

resultType

TypeScript
set resultType(value: NSBatchInsertRequestResultType)
Swift declaration
var resultType: NSBatchInsertRequestResultType { get set }

Skipped declarations

6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSBatchInsertRequest.dictionaryHandler

closure property answers its caller

NSBatchInsertRequest.managedObjectHandler

closure property answers its caller

NSBatchInsertRequest.init(entity:dictionaryHandler:)

callback cannot propagate synchronous failure

NSBatchInsertRequest.init(entity:managedObjectHandler:)

callback cannot propagate synchronous failure

NSBatchInsertRequest.init(entityName:dictionaryHandler:)

callback cannot propagate synchronous failure

NSBatchInsertRequest.init(entityName:managedObjectHandler:)

callback cannot propagate synchronous failure

All CoreData types →