Roblox API Reference

DataStore On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, NotReplicated]

Inherits (2)

Member index (4)

Type Member History
Tuple GetVersionAsync (string key, string version) 462
DataStoreKeyPages ListKeysAsync (string prefix = , int pageSize = 0, string cursor = , bool excludeDeleted = false) 483 548 564
DataStoreVersionPages ListVersionsAsync (string key, SortDirection sortDirection = Ascending, int64 minDate = 0, int64 maxDate = 0, int pageSize = 0) 463 483
null RemoveVersionAsync (string key, string version) 463 573
6 members inherited from GlobalDataStore
57 members inherited from Instance

History

Members

GetVersionAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
key string none
version string none

History

Tags: [Yields]

ListKeysAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
prefix string
pageSize int 0
cursor string
excludeDeleted bool false

History

Tags: [Yields]

ListVersionsAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
key string none
sortDirection SortDirection Ascending
minDate int64 0
maxDate int64 0
pageSize int 0

History

Tags: [Yields]

RemoveVersionAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
key string none
version string none

History

Tags: [Yields]

Relevant classes (2)

Relevant enums (1)