/
githubmirror
/
redis
Обзор
Документация
Войти
/
githubmirror
/
redis
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
unstable
src/commands/arnext.json
56 строк
1 KB
Salvatore Sanfilippo
Implement the new Redis Array type (#15162)
13 май 2026, 19:56
Не верифицирован
13 май 2026, 19:56
0d95764
Код
Авторство
О чём код?
{ "ARNEXT": { "summary": "Returns the next index ARINSERT would use.", "complexity": "O(1)", "group": "array", "since": "8.8.0", "arity": 2, "function": "arnextCommand", "command_flags": [ "READONLY", "FAST" ], "acl_categories": [ "ARRAY" ], "key_specs": [ { "flags": [ "RO", "ACCESS" ], "begin_search": { "index": { "pos": 1 } }, "find_keys": { "range": { "lastkey": 0, "step": 1, "limit": 0 } } } ], "reply_schema": { "oneOf": [ { "description": "The next index ARINSERT would use. Returns 0 for missing keys or when no insert happened yet.", "type": "integer" }, { "description": "Null when the insertion cursor is exhausted (next insert would overflow).", "type": "null" } ] }, "arguments": [ { "name": "key", "type": "key", "key_spec_index": 0 } ] } }