aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/lpush.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/lpush.json')
-rw-r--r--examples/redis-unstable/src/commands/lpush.json60
1 files changed, 0 insertions, 60 deletions
diff --git a/examples/redis-unstable/src/commands/lpush.json b/examples/redis-unstable/src/commands/lpush.json
deleted file mode 100644
index 34cd8e2..0000000
--- a/examples/redis-unstable/src/commands/lpush.json
+++ /dev/null
@@ -1,60 +0,0 @@
1{
2 "LPUSH": {
3 "summary": "Prepends one or more elements to a list. Creates the key if it doesn't exist.",
4 "complexity": "O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments.",
5 "group": "list",
6 "since": "1.0.0",
7 "arity": -3,
8 "function": "lpushCommand",
9 "history": [
10 [
11 "2.4.0",
12 "Accepts multiple `element` arguments."
13 ]
14 ],
15 "command_flags": [
16 "WRITE",
17 "DENYOOM",
18 "FAST"
19 ],
20 "acl_categories": [
21 "LIST"
22 ],
23 "key_specs": [
24 {
25 "flags": [
26 "RW",
27 "INSERT"
28 ],
29 "begin_search": {
30 "index": {
31 "pos": 1
32 }
33 },
34 "find_keys": {
35 "range": {
36 "lastkey": 0,
37 "step": 1,
38 "limit": 0
39 }
40 }
41 }
42 ],
43 "reply_schema": {
44 "description": "Length of the list after the push operations.",
45 "type": "integer"
46 },
47 "arguments": [
48 {
49 "name": "key",
50 "type": "key",
51 "key_spec_index": 0
52 },
53 {
54 "name": "element",
55 "type": "string",
56 "multiple": true
57 }
58 ]
59 }
60}