summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/lset.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/lset.json')
-rw-r--r--examples/redis-unstable/src/commands/lset.json55
1 files changed, 0 insertions, 55 deletions
diff --git a/examples/redis-unstable/src/commands/lset.json b/examples/redis-unstable/src/commands/lset.json
deleted file mode 100644
index 473b02c..0000000
--- a/examples/redis-unstable/src/commands/lset.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "LSET": {
- "summary": "Sets the value of an element in a list by its index.",
- "complexity": "O(N) where N is the length of the list. Setting either the first or the last element of the list is O(1).",
- "group": "list",
- "since": "1.0.0",
- "arity": 4,
- "function": "lsetCommand",
- "command_flags": [
- "WRITE",
- "DENYOOM"
- ],
- "acl_categories": [
- "LIST"
- ],
- "key_specs": [
- {
- "flags": [
- "RW",
- "UPDATE"
- ],
- "begin_search": {
- "index": {
- "pos": 1
- }
- },
- "find_keys": {
- "range": {
- "lastkey": 0,
- "step": 1,
- "limit": 0
- }
- }
- }
- ],
- "reply_schema": {
- "const": "OK"
- },
- "arguments": [
- {
- "name": "key",
- "type": "key",
- "key_spec_index": 0
- },
- {
- "name": "index",
- "type": "integer"
- },
- {
- "name": "element",
- "type": "string"
- }
- ]
- }
-}