summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/geoadd.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/geoadd.json
parent58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff)
downloadcrep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/commands/geoadd.json')
-rw-r--r--examples/redis-unstable/src/commands/geoadd.json98
1 files changed, 0 insertions, 98 deletions
diff --git a/examples/redis-unstable/src/commands/geoadd.json b/examples/redis-unstable/src/commands/geoadd.json
deleted file mode 100644
index 5409bfc..0000000
--- a/examples/redis-unstable/src/commands/geoadd.json
+++ /dev/null
@@ -1,98 +0,0 @@
1{
2 "GEOADD": {
3 "summary": "Adds one or more members to a geospatial index. The key is created if it doesn't exist.",
4 "complexity": "O(log(N)) for each item added, where N is the number of elements in the sorted set.",
5 "group": "geo",
6 "since": "3.2.0",
7 "arity": -5,
8 "function": "geoaddCommand",
9 "history": [
10 [
11 "6.2.0",
12 "Added the `CH`, `NX` and `XX` options."
13 ]
14 ],
15 "command_flags": [
16 "WRITE",
17 "DENYOOM"
18 ],
19 "acl_categories": [
20 "GEO"
21 ],
22 "key_specs": [
23 {
24 "flags": [
25 "RW",
26 "UPDATE"
27 ],
28 "begin_search": {
29 "index": {
30 "pos": 1
31 }
32 },
33 "find_keys": {
34 "range": {
35 "lastkey": 0,
36 "step": 1,
37 "limit": 0
38 }
39 }
40 }
41 ],
42 "arguments": [
43 {
44 "name": "key",
45 "type": "key",
46 "key_spec_index": 0
47 },
48 {
49 "name": "condition",
50 "type": "oneof",
51 "optional": true,
52 "since": "6.2.0",
53 "arguments": [
54 {
55 "name": "nx",
56 "type": "pure-token",
57 "token": "NX"
58 },
59 {
60 "name": "xx",
61 "type": "pure-token",
62 "token": "XX"
63 }
64 ]
65 },
66 {
67 "name": "change",
68 "token": "CH",
69 "type": "pure-token",
70 "optional": true,
71 "since": "6.2.0"
72 },
73 {
74 "name": "data",
75 "type": "block",
76 "multiple": true,
77 "arguments": [
78 {
79 "name": "longitude",
80 "type": "double"
81 },
82 {
83 "name": "latitude",
84 "type": "double"
85 },
86 {
87 "name": "member",
88 "type": "string"
89 }
90 ]
91 }
92 ],
93 "reply_schema": {
94 "description": "When used without optional arguments, the number of elements added to the sorted set (excluding score updates). If the CH option is specified, the number of elements that were changed (added or updated).",
95 "type": "integer"
96 }
97 }
98}