Type Function Object CloudKitRecord Return value Table Revision 2017.3060 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
    }
)