3 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

DataStoreRequestType

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

NameValueDescription
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.

GetAsync

Refers to GetAsync() and the read of UpdateAsync().

FieldValue
value0

SetIncrementAsync

Refers to SetAsync(), IncrementAsync(), RemoveAsync(), and the write of UpdateAsync() when it returns a non-nil value.

FieldValue
value1

UpdateAsync

Refers to UpdateAsync().

FieldValue
value2

GetSortedAsync

Refers to GetSortedAsync().

FieldValue
value3

SetIncrementSortedAsync

Refers to SetAsync() IncrementAsync(), RemoveAsync(), and the write of UpdateAsync() while using an OrderedDataStore.

FieldValue
value4

OnUpdate

Refers to OnUpdate().

FieldValue
value5

ListAsync

Refers to ListKeysAsync() and ListVersionsAsync().

FieldValue
value6

GetVersionAsync

Refers to GetVersionAsync().

FieldValue
value7

RemoveVersionAsync

Refers to RemoveVersionAsync().

FieldValue
value8

StandardRead

Refers to GetAsync(), GetVersionAsync(), GetVersionAtTimeAsync(), and the read of UpdateAsync() for DataStore.

FieldValue
value9

StandardWrite

Refers to SetAsync(), IncrementAsync(), and the write of UpdateAsync() for DataStore.

FieldValue
value10

StandardList

Refers to ListDataStoresAsync(), and ListKeysAsync() and ListVersionsAsync() for DataStore.

FieldValue
value11

StandardRemove

Refers to RemoveAsync() for DataStore.

FieldValue
value12

OrderedRead

Refers to GetAsync() and the read of UpdateAsync() for OrderedDataStore.

FieldValue
value13

OrderedWrite

Refers to SetAsync(), IncrementAsync(), and the write of UpdateAsync() for OrderedDataStore.

FieldValue
value14

OrderedList

Refers to GetSortedAsync() for OrderedDataStore. GetRequestBudgetForRequestType()with this enum will return0`.

FieldValue
value15

OrderedRemove

Refers to RemoveAsync() for OrderedDataStore.

FieldValue
value16