---
title: objectsToInsert
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsbatchinsertrequest/objectstoinsert
---

# objectsToInsert

An array of dictionaries that represents the objects to insert with the keys as attribute names and their assigned values.

## Declaration

```swift
var objectsToInsert: [[String : Any]]? { get set }
```

## See Also

### Configuring a Request

- [dictionaryHandler](coredata/nsbatchinsertrequest/dictionaryhandler.md)
- [entity](coredata/nsbatchinsertrequest/entity.md)
- [entityName](coredata/nsbatchinsertrequest/entityname.md)
- [managedObjectHandler](coredata/nsbatchinsertrequest/managedobjecthandler.md)
- [resultType](coredata/nsbatchinsertrequest/resulttype.md)
