Type Function Object CloudKitRecord Return value Table Revision Release 2024.3703 Keywords iCloud, sync, storage, CloudKit, CloudKitRecord, table See also CloudKitRecord CloudKitRecord:get() iCloud.*
Retrieves all of the record’s values as a table.
CloudKitRecord:table()
local json = require( "json" ) local function fetchResults( event ) if event.record then print( "Record is: ", json.prettify( event.record:table() ) ) else print( "Record not fetched!" ) end end iCloud.recordFetch( { recordName = "Corona Labs 1", onComplete = fetchResults } )