/
githubmirror
/
redis
Обзор
Документация
Войти
/
githubmirror
/
redis
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
unstable
src/commands/digest.json
56 строк
1 KB
Mincho Paskalev
Optimistic locking for string objects - compare-and-set and compare-and-delete (#14435)
21 окт 2025, 10:32
Не верифицирован
21 окт 2025, 10:32
aed879a
Код
Авторство
О чём код?
{ "DIGEST": { "summary": "Returns the XXH3 hash of a string value.", "complexity": "O(N) where N is the length of the string value.", "group": "string", "since": "8.4.0", "arity": 2, "function": "digestCommand", "command_flags": [ "READONLY", "FAST" ], "acl_categories": [ "STRING" ], "key_specs": [ { "flags": [ "RO", "ACCESS" ], "begin_search": { "index": { "pos": 1 } }, "find_keys": { "range": { "lastkey": 0, "step": 1, "limit": 0 } } } ], "reply_schema": { "oneOf": [ { "description": "The XXH3 64-bit hash of the string value as a signed integer.", "type": "string" }, { "description": "Key does not exist", "type": "null" } ] }, "arguments": [ { "name": "key", "type": "key", "key_spec_index": 0 } ] } }