diagrid call state transaction
Execute a KV store transaction
Description
Execute a transaction with multiple operations (upsert, delete) using an existing state component
diagrid call state transaction [flags]
Examples
# Perform a transaction with upsert and delete operations using the state component
diagrid call state transaction --component my-kvstore --app-id my-appid --operations upsert:key1:value,delete:key2
Options
-c, --component string [Required]: Component name for target kv store
-a, --app-id string [Required]: App ID used for the transaction
--operations strings [Required]: List of operations (e.g., upsert:key1:value,delete:key2)
-p, --project string Name of existing project
-o, --output string Output format, supported [table, yaml, json] (default "table")
--verbose Include verbose output such as curl command and response body
-h, --help help for transaction
SEE ALSO
- diagrid call state - Call State API