mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
70ff26b454
Support doing `CONFIG GET <x> <y> <z>`, each of them can also be a pattern with wildcards. This avoids duplicates in the result by looping over the configs and for each once checking all the patterns, once a match is found for a pattern we move on to the next config.
37 lines
960 B
JSON
37 lines
960 B
JSON
{
|
|
"GET": {
|
|
"summary": "Get the values of configuration parameters",
|
|
"complexity": "O(N) when N is the number of configuration parameters provided",
|
|
"group": "server",
|
|
"since": "2.0.0",
|
|
"arity": -3,
|
|
"container": "CONFIG",
|
|
"function": "configGetCommand",
|
|
"history": [
|
|
[
|
|
"7.0.0",
|
|
"Added the ability to pass multiple pattern parameters in one call"
|
|
]
|
|
],
|
|
"command_flags": [
|
|
"ADMIN",
|
|
"NOSCRIPT",
|
|
"LOADING",
|
|
"STALE"
|
|
],
|
|
"arguments": [
|
|
{
|
|
"name": "parameter",
|
|
"type": "block",
|
|
"multiple": true,
|
|
"arguments": [
|
|
{
|
|
"name": "parameter",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|