Swappable backend for hash-based cache operations.
Remove one or more whole hashes. Returns the number of removed keys.
Returns true if the key exists (has at least one field).
true
Optional: set TTL on the whole hash. No-op by default.
Remove one or more fields. Returns the number of removed fields.
Optional: set per-field TTL (Redis 7.4+). No-op by default.
Get a single field value. Returns null if the key or field does not exist.
null
Return every field-value pair in the hash.
Set multiple fields. Returns the number of newly-added fields.
Set a field value. Returns true if a new field was added, false if updated.
false