DataStoreKey
Object representing a key on a DataStoreKeyPages object.
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
Memory category | Instances |
---|
Member index 1
Description
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.
History 3
Members 1
KeyName
Type | Default | |
---|---|---|
string |
This property indicates the name of the key. This name can then be used in other operations such as GlobalDataStore:GetAsync() and GlobalDataStore:SetAsync().
If DataStoreOptions.AllScopes was set to true when accessing the data store through DataStoreService:GetDataStore(), the name will include its scope as a prefix.
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | false/true |