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