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
GetAsync
Refers to GetAsync() and the read of UpdateAsync().
| Field | Value |
|---|---|
| value | 0 |
SetIncrementAsync
Refers to SetAsync(), IncrementAsync(), RemoveAsync(), and the write of UpdateAsync() when it returns a non-nil value.
| Field | Value |
|---|---|
| value | 1 |
UpdateAsync
Refers to UpdateAsync().
| Field | Value |
|---|---|
| value | 2 |
GetSortedAsync
Refers to GetSortedAsync().
| Field | Value |
|---|---|
| value | 3 |
SetIncrementSortedAsync
Refers to SetAsync() IncrementAsync(), RemoveAsync(), and the write of UpdateAsync() while using an OrderedDataStore.
| Field | Value |
|---|---|
| value | 4 |
OnUpdate
Refers to OnUpdate().
| Field | Value |
|---|---|
| value | 5 |
ListAsync
Refers to ListKeysAsync() and ListVersionsAsync().
| Field | Value |
|---|---|
| value | 6 |
GetVersionAsync
Refers to GetVersionAsync().
| Field | Value |
|---|---|
| value | 7 |
RemoveVersionAsync
Refers to RemoveVersionAsync().
| Field | Value |
|---|---|
| value | 8 |
StandardRead
Refers to GetAsync(), GetVersionAsync(), GetVersionAtTimeAsync(), and the read of UpdateAsync() for DataStore.
| Field | Value |
|---|---|
| value | 9 |
StandardWrite
Refers to SetAsync(), IncrementAsync(), and the write of UpdateAsync() for DataStore.
| Field | Value |
|---|---|
| value | 10 |
StandardList
Refers to ListDataStoresAsync(), and ListKeysAsync() and ListVersionsAsync() for DataStore.
| Field | Value |
|---|---|
| value | 11 |
StandardRemove
Refers to RemoveAsync() for DataStore.
| Field | Value |
|---|---|
| value | 12 |
OrderedRead
Refers to GetAsync() and the read of UpdateAsync() for OrderedDataStore.
| Field | Value |
|---|---|
| value | 13 |
OrderedWrite
Refers to SetAsync(), IncrementAsync(), and the write of UpdateAsync() for OrderedDataStore.
| Field | Value |
|---|---|
| value | 14 |
OrderedList
Refers to GetSortedAsync() for OrderedDataStore. GetRequestBudgetForRequestType()with this enum will return0`.
| Field | Value |
|---|---|
| value | 15 |
OrderedRemove
Refers to RemoveAsync() for OrderedDataStore.
| Field | Value |
|---|---|
| value | 16 |