Skip to content

DataStoreRequestType

Not yet Enum

Indicates the type of data store request being made.

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

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

Item Value Status Notes
GetAsync 0 Not yet Refers to GetAsync() and the read of UpdateAsync().
SetIncrementAsync 1 Not yet Refers to SetAsync(), IncrementAsync(), RemoveAsync(), and the write of [UpdateAsy…
UpdateAsync 2 Not yet Refers to UpdateAsync().
GetSortedAsync 3 Not yet Refers to GetSortedAsync().
SetIncrementSortedAsync 4 Not yet Refers to SetAsync() IncrementAsync(), RemoveAsync(), and the…
OnUpdate 5 Not yet Refers to OnUpdate().
ListAsync 6 Not yet Refers to ListKeysAsync() and ListVersionsAsync().
GetVersionAsync 7 Not yet Refers to GetVersionAsync().
RemoveVersionAsync 8 Not yet Refers to RemoveVersionAsync().
StandardRead 9 Not yet Refers to GetAsync(), GetVersionAsync(), GetVersionAtTimeAsync(), and t…
StandardWrite 10 Not yet Refers to SetAsync(), IncrementAsync(), and the write of UpdateAsync() for [DataSt…
StandardList 11 Not yet Refers to ListDataStoresAsync(), and ListKeysAsync() and [ListVersionsAsync()](../classes/DataStore.md#l…
StandardRemove 12 Not yet Refers to RemoveAsync() for DataStore.
OrderedRead 13 Not yet Refers to GetAsync() and the read of UpdateAsync() for OrderedDataStore.
OrderedWrite 14 Not yet Refers to SetAsync(), IncrementAsync(), and the write of [UpdateAsync()](../classes/OrderedDataStore.md#upd…
OrderedList 15 Not yet Refers to GetSortedAsync() for OrderedDataStore. GetRequestBudgetForRequestType()with this enum will return0`.
OrderedRemove 16 Not yet Refers to RemoveAsync() for OrderedDataStore.

Roblox reference: DataStoreRequestType