create
Creates one or more records.
Declaration
CloudKit.RecordsBatchBuilder create(
CloudKit.Record|CloudKit.Record[] records,
optional Object options
);Parameters
- records:
A Cloudkit.record dictionary representing the record to create, if you are creating a single record. If you are creating multiple records, this parameter is an array of Cloudkit.record dictionaries representing the records to create. Only the values of the fields in the dictionaries are set.
- options:
A dictionary containing options for this operation. This parameter contains a single
desiredKeyskey that is an array of field names (Stringvalues). Only the fields specified in the array are set.
Return Value
The object that received this method call.