Class · inherits Instance
DataStoreKey
Object representing a key on a DataStoreKeyPages object.
About DataStoreKey
Object representing a key on a DataStoreKeyPages object. It contains
the key name as DataStoreKey.KeyName. This object is a member of the
DataStoreKeyPages object returned by
DataStore.ListKeysAsync.
See also:
- Data Stores, an in-depth guide on data structure, management, error handling, etc.
Properties 1
KeyName
: stringReadOnlyNotReplicatedThe name of the key.This property indicates the name of the key. This name can then be used in other operations such as
GlobalDataStore.GetAsyncandGlobalDataStore.SetAsync.If
DataStoreOptions.AllScopeswas set to true when accessing the data store throughDataStoreService.GetDataStore, the name will include its scope as a prefix.
DataStoreKey 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.