@dapr/set_state
Description
DatabaseSource code
TODO
Options
resource
ResourceRef
The name of the Dapr client resource.
store
string
Name of state store to invoke.
codec
CodecRef
The configured codec to use for encoding the state.
codecArgs
any[]
The arguments for the codec, if any.
items
SetStateItem[]
The items to set in the store.
type SetStateItem
key
string (Value expression)
The key of the item to set.
forEach
string (Value expression)
an option expression to evaluate a.
value
string (Data expression)
Optional data expression to tranform the data to set.
etag
string (Value expression)
Etag value of the item to set
metadata
string (Data expression)
Optional data expression for the key's metadata.
concurrency
Concurrency
The desired concurrency level
consistency
Consistency
The desired consistency level
enum Concurrency
undefined
Undefined value for state concurrency
firstWrite
First write concurrency value
lastWrite
Last write concurrency value