iCloud.table()

Type Function
Return value Table
Revision 2017.3060
Keywords iCloud, sync, storage, Key-Value Storage, KVS, table
See also iCloud.set()
iCloud.get()
iCloud.*

Overview

Retrieves all values stored in Key-Value Storage by returning a table of key-value pairs.

Syntax

iCloud.table()

Example

local json = require( "json" )

-- Prints all values currently stored in Key-Value Storage
local KVSvalues = iCloud.table()
print( json.prettify( KVSvalues ) )