Class
DataStoreKeyInfo
NotCreatableNotReplicated
An object specifying information about a particular version of the key.
An object describing information about a particular version of the key. This
is returned as the second return value by GlobalDataStore:GetAsync(),
GlobalDataStore:UpdateAsync(),
GlobalDataStore:IncrementAsync(),
GlobalDataStore:RemoveAsync(), and
DataStore:GetVersionAsync().
See also:
- Data Stores, an in-depth guide on data structure, management, error handling, etc.
Properties 3#
CreatedTimeint64 | The date and time the object was created.ReadSafeReadOnlyNotReplicated |
UpdatedTimeint64 | The date and time the object was last updated.ReadSafeReadOnlyNotReplicated |
Versionstring | Uniquely identifies the version of the object.ReadSafeReadOnlyNotReplicated |
CreatedTime: int64#
ReadOnlyNotReplicatedReadSafe
This property indicates the date and time the object was created, formatted as the number of milliseconds since epoch.
UpdatedTime: int64#
ReadOnlyNotReplicatedReadSafe
This property indicates the date and time the object was last updated, formatted as the number of milliseconds since epoch.
Version: string#
ReadOnlyNotReplicatedReadSafe
This property uniquely identifies the version of the object. It can be
passed to DataStore:GetVersionAsync() or
DataStore:RemoveVersionAsync() to get or remove the version
respectively.
Methods 2#
| GetMetadata | Returns the metadata associated with the object. |
| GetUserIds | An array of UserIds tagged with a key. |
GetMetadata(): Dictionary#
This function returns the metadata associated with the latest version of the object.
Returns
Dictionary— Metadata associated with the key.
GetUserIds(): Array#
This function returns an array of UserIds tagged
with the object.
Returns
Array— An array ofUserIdsassociated with the object.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild