aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/getset.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/getset.json')
-rw-r--r--examples/redis-unstable/src/commands/getset.json67
1 files changed, 0 insertions, 67 deletions
diff --git a/examples/redis-unstable/src/commands/getset.json b/examples/redis-unstable/src/commands/getset.json
deleted file mode 100644
index 42823d5..0000000
--- a/examples/redis-unstable/src/commands/getset.json
+++ /dev/null
@@ -1,67 +0,0 @@
1{
2 "GETSET": {
3 "summary": "Returns the previous string value of a key after setting it to a new value.",
4 "complexity": "O(1)",
5 "group": "string",
6 "since": "1.0.0",
7 "arity": 3,
8 "function": "getsetCommand",
9 "deprecated_since": "6.2.0",
10 "replaced_by": "`SET` with the `!GET` argument",
11 "doc_flags": [
12 "DEPRECATED"
13 ],
14 "command_flags": [
15 "WRITE",
16 "DENYOOM",
17 "FAST"
18 ],
19 "acl_categories": [
20 "STRING"
21 ],
22 "key_specs": [
23 {
24 "flags": [
25 "RW",
26 "ACCESS",
27 "UPDATE"
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 "description": "The old value stored at the key.",
47 "type": "string"
48 },
49 {
50 "description": "The key does not exist.",
51 "type": "null"
52 }
53 ]
54 },
55 "arguments": [
56 {
57 "name": "key",
58 "type": "key",
59 "key_spec_index": 0
60 },
61 {
62 "name": "value",
63 "type": "string"
64 }
65 ]
66 }
67}