Docs Engine API Enums DataStoreRequestType
Enum
DataStoreRequestType
Indicates the type of data store request being made.
Categorizes data store operations for use with
DataStoreService:GetRequestBudgetForRequestType() , which returns the
remaining per-server request budget for a given category.
The enum contains two sets of values. The legacy values (GetAsync,
SetIncrementAsync, UpdateAsync, GetSortedAsync,
SetIncrementSortedAsync, OnUpdate, ListAsync, GetVersionAsync, and
RemoveVersionAsync) should not be used. The modern values
(StandardRead, StandardWrite, StandardList, StandardRemove,
OrderedRead, OrderedWrite, OrderedList, and OrderedRemove) correspond
to the newer DataStore and OrderedDataStore API families that
use universe-level and per-server limits.
Items 17 #
Name Value Summary GetAsync0Refers to GetAsync() and the read of
UpdateAsync() . SetIncrementAsync1Refers to SetAsync() ,
IncrementAsync() ,
RemoveAsync() , and the write of
UpdateAsync() when it returns a non-nil
value. UpdateAsync2Refers to UpdateAsync() . GetSortedAsync3Refers to GetSortedAsync() . SetIncrementSortedAsync4Refers to SetAsync()
IncrementAsync() ,
RemoveAsync() , and the write of
UpdateAsync() while using an
OrderedDataStore . OnUpdate5Refers to OnUpdate() . ListAsync6Refers to ListKeysAsync() and
ListVersionsAsync() . GetVersionAsync7Refers to GetVersionAsync() . RemoveVersionAsync8Refers to RemoveVersionAsync() . StandardRead9Refers to GetAsync() ,
GetVersionAsync() ,
GetVersionAtTimeAsync() , and the
read of UpdateAsync() for
DataStore . StandardWrite10Refers to SetAsync() ,
IncrementAsync() , and the write of
UpdateAsync() for
DataStore . StandardList11Refers to
ListDataStoresAsync() , and
ListKeysAsync() and
ListVersionsAsync() for
DataStore . StandardRemove12Refers to RemoveAsync() for
DataStore . OrderedRead13Refers to GetAsync() and the read of
UpdateAsync() for
OrderedDataStore . OrderedWrite14Refers to SetAsync() ,
IncrementAsync() , and the write
of UpdateAsync() for
OrderedDataStore . OrderedList15Refers to GetSortedAsync() for
OrderedDataStore .
GetRequestBudgetForRequestType()with this enum will return0`. OrderedRemove16Refers to RemoveAsync() for
OrderedDataStore .
This page is based on the Roblox Creator Documentation , licensed under CC BY 4.0 . Changes: formatting, navigation and search on DevlHub. Original page · Source .
Roblox and Roblox Studio are trademarks of Roblox Corporation. DevlHub is an independent community site and is not affiliated with or endorsed by Roblox.