Type Function Return value none Revision 2017.3060 Keywords iCloud, sync, storage, CloudKit, recordDelete See also iCloud.recordCreate() iCloudRecordEvent iCloud.*
Deletes an existing record. Results will be passed to an optional onComplete
listener function as an iCloudRecordEvent.
iCloud.recordDelete( params )
Table. Table containing
Valid keys for the params
table include:
recordName
— Required string value representing the identifier for the record.
zoneName
— Optional string value indicating the record's zone name.
zoneOwner
— Optional string value indicating the record's zone owner.
database
— Optional string value indicating the record's database.
containerId
— Optional string value indicating a specific iCloud Container in which the record is contained. Do not pass this parameter if you have only one iCloud Container associated with your app.
onComplete
— Optional listener function to be invoked with an iCloudRecordEvent.
iCloud.recordDelete( { recordName = "Corona Labs 1" } )