summaryrefslogtreecommitdiffstats
path: root/src/commands/select.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/select.json')
-rw-r--r--src/commands/select.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/commands/select.json b/src/commands/select.json
new file mode 100644
index 0000000..5cf8634
--- /dev/null
+++ b/src/commands/select.json
@@ -0,0 +1,27 @@
+{
+ "SELECT": {
+ "summary": "Changes the selected database.",
+ "complexity": "O(1)",
+ "group": "connection",
+ "since": "1.0.0",
+ "arity": 2,
+ "function": "selectCommand",
+ "command_flags": [
+ "LOADING",
+ "STALE",
+ "FAST"
+ ],
+ "acl_categories": [
+ "CONNECTION"
+ ],
+ "reply_schema": {
+ "const": "OK"
+ },
+ "arguments": [
+ {
+ "name": "index",
+ "type": "integer"
+ }
+ ]
+ }
+}