DataStoreKey

Show Deprecated
Not Creatable
Not Replicated

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.

Summary

Properties

  • Read Only
    Not Replicated
    Read Parallel

    The name of the key.

Properties

KeyName

Read Only
Not Replicated
Read Parallel

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.

Methods

Events