Roblox UtilitiesDevlHub Roblox Documentation

Class

DataStoreKey

NotCreatableNotReplicated
Inherits
Instance › Object
Memory category
Instances

Object representing a key on a DataStoreKeyPages object.

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#

KeyNamestringThe name of the key.ReadSafeReadOnlyNotReplicated

KeyName: string#

ReadOnlyNotReplicatedReadSafe

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.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed