aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/rpop.json
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
commitdcacc00e3750300617ba6e16eb346713f91a783a (patch)
tree38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/src/commands/rpop.json
parent58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff)
downloadcrep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/commands/rpop.json')
-rw-r--r--examples/redis-unstable/src/commands/rpop.json76
1 files changed, 0 insertions, 76 deletions
diff --git a/examples/redis-unstable/src/commands/rpop.json b/examples/redis-unstable/src/commands/rpop.json
deleted file mode 100644
index 79b5a92..0000000
--- a/examples/redis-unstable/src/commands/rpop.json
+++ /dev/null
@@ -1,76 +0,0 @@
1{
2 "RPOP": {
3 "summary": "Returns and removes the last elements of a list. Deletes the list if the last element was popped.",
4 "complexity": "O(N) where N is the number of elements returned",
5 "group": "list",
6 "since": "1.0.0",
7 "arity": -2,
8 "function": "rpopCommand",
9 "history": [
10 [
11 "6.2.0",
12 "Added the `count` argument."
13 ]
14 ],
15 "command_flags": [
16 "WRITE",
17 "FAST"
18 ],
19 "acl_categories": [
20 "LIST"
21 ],
22 "key_specs": [
23 {
24 "flags": [
25 "RW",
26 "ACCESS",
27 "DELETE"
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 "oneOf": [
45 {
46 "type": "null",
47 "description": "Key does not exist."
48 },
49 {
50 "type": "string",
51 "description": "When 'COUNT' was not given, the value of the last element."
52 },
53 {
54 "type": "array",
55 "description": "When 'COUNT' was given, list of popped elements.",
56 "items": {
57 "type": "string"
58 }
59 }
60 ]
61 },
62 "arguments": [
63 {
64 "name": "key",
65 "type": "key",
66 "key_spec_index": 0
67 },
68 {
69 "name": "count",
70 "type": "integer",
71 "optional": true,
72 "since": "6.2.0"
73 }
74 ]
75 }
76}