stores global
Shared durable storage: the experience's one store, leases and raw queries; calls yield.
Docs: DataFunctions 6
stores.open() → DurableStoreReturns the experience's one store. It takes no id; passing one is an error.
stores.request(query: {[string]: any}, bytes: string?) → ({[string]: any}, string?)Sends one raw query to the store and yields until it answers; returns the answer table and any blob bytes.
stores.lease(key: string, holder: string, ttl_ms: number) → numberTakes a lease on key for holder, lasting ttl_ms milliseconds (up to one hour); returns a fencing token.
stores.renew(key: string, token: number)Extends the lease on key that token holds.
stores.release(key: string, token: number)Gives up the lease on key that token holds.
stores.blob_list(owner: string) → {{store: string, key: string, version: number, size: number}}Lists a player's blobs across all blob stores in this scope, each with its store, key, version and size.