redis_set
Set a key's value with optional conditional setting and expiration.
Instructions
Set the value of a key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key to set. | |
| value | Yes | The value to set. | |
| nx | No | Only set if key doesn't exist. | |
| xx | No | Only set if key already exists. | |
| ex | No | Set expiration in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |