Class · inherits Instance
DataStoreKeyInfo
An object specifying information about a particular version of the key.
About DataStoreKeyInfo
An object describing information about a particular version of the key. This
is returned as the second return value by GlobalDataStore.GetAsync,
GlobalDataStore.UpdateAsync,
GlobalDataStore.IncrementAsync,
GlobalDataStore.RemoveAsync, and
DataStore.GetVersionAsync.
See also:
- Data Stores, an in-depth guide on data structure, management, error handling, etc.
Properties 3
CreatedTime
: int64ReadOnlyNotReplicatedThe date and time the object was created.This property indicates the date and time the object was created, formatted as the number of milliseconds since epoch.
UpdatedTime
: int64ReadOnlyNotReplicatedThe date and time the object was last updated.This property indicates the date and time the object was last updated, formatted as the number of milliseconds since epoch.
Version
: stringReadOnlyNotReplicatedUniquely identifies the version of the object.This property uniquely identifies the version of the object. It can be passed to
DataStore.GetVersionAsyncorDataStore.RemoveVersionAsyncto get or remove the version respectively.
Methods 2
GetMetadata
() → DictionaryReturns the metadata associated with the object.This function returns the metadata associated with the latest version of the object.
DataStoreKeyInfo also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.