Key/value helpers built on ArcadeDB's Redis-language command support.
Arex.KV wraps the Redis-compatible HTTP command surface that ArcadeDB
exposes through /api/v1/command/:db with language: "redis".
Use this module when you want transient Redis-style key/value operations or
persistent hash-style commands without constructing raw Redis command strings
by hand. Wrapped helpers apply active tenant and scope values as a key
namespace. When you need a command that is not wrapped here, use run/2.
The important distinction is between structured helpers and raw commands:
- wrapped helpers such as
get/2,set/3,exists?/2, andhset/3apply Arex boundary behavior when the target shape is known run/2andbatch/2remain raw Redis-language escape hatches
That split keeps the public API predictable without pretending Arex can safely rewrite arbitrary Redis command strings.
Summary
Functions
Executes multiple Redis-language commands as a newline-delimited batch.
Decrements a transient numeric key by 1 with DECR.
Decrements a transient numeric key by the provided amount with DECRBY.
Deletes one or more transient keys with DEL.
Returns whether a transient key exists.
Reads a transient key with GET.
Deletes one or more persistent records or indexed entries with HDEL.
Retrieves a persistent record or indexed value with HGET.
Retrieves multiple persistent records or indexed values with HMGET.
Creates or updates one persistent record payload with HSET.
Increments a transient numeric key by 1 with INCR.
Increments a transient numeric key by the provided amount with INCRBY.
Increments a transient numeric key by a floating-point amount with INCRBYFLOAT.
Sends PING and returns the Redis-compatible response payload.
Executes a raw Redis-language command and returns the normalized command result.
Writes a transient key with SET.
Unwraps the first value field from a normalized Redis-language command result.
Functions
Executes multiple Redis-language commands as a newline-delimited batch.
Decrements a transient numeric key by 1 with DECR.
Decrements a transient numeric key by the provided amount with DECRBY.
Deletes one or more transient keys with DEL.
Returns whether a transient key exists.
Reads a transient key with GET.
Deletes one or more persistent records or indexed entries with HDEL.
Retrieves a persistent record or indexed value with HGET.
Retrieves multiple persistent records or indexed values with HMGET.
Creates or updates one persistent record payload with HSET.
Increments a transient numeric key by 1 with INCR.
Increments a transient numeric key by the provided amount with INCRBY.
Increments a transient numeric key by a floating-point amount with INCRBYFLOAT.
Sends PING and returns the Redis-compatible response payload.
Executes a raw Redis-language command and returns the normalized command result.
Writes a transient key with SET.
Unwraps the first value field from a normalized Redis-language command result.