Skip to content
ParticleDB

Work with key-value data

Use key-value data for direct lookups, counters and expiration. Choose either the supported SQL functions or an existing Redis client, based on your application.

SELECT KV_SET('docs:session:1', 'active');
SELECT KV_GET('docs:session:1') AS status;

The read returns active.

Use an application and account prefix, such as app:account:record. Keep credentials and private data out of key names, which may appear in logs or diagnostics.

Redis-compatible clients expose strings, lists, sets and other supported structures. See Redis compatibility and the command reference for exact syntax and limits.

A list operation is not automatically a durable workflow scheduler. Check blocking behavior, acknowledgements, retry handling and the atomicity of each operation before building a worker queue. Do not assume a SQL transaction includes commands sent over a separate client connection.

Redis compatibility · Agents and workflows