Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ad94bc31
Commit
ad94bc31
authored
Apr 10, 2023
by
Vitaly Arbuzov
Browse files
Merge branch 'unstable' into dict-split-by-slot
parents
a08686a5
e55568ed
Changes
423
Hide whitespace changes
Inline
Side-by-side
src/commands/role.json
View file @
ad94bc31
{
"ROLE"
:
{
"summary"
:
"Return the
role of the instance in the context of
replication"
,
"summary"
:
"Return
s
the replication
role.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"server"
,
"since"
:
"2.8.12"
,
...
...
src/commands/rpop.json
View file @
ad94bc31
{
"RPOP"
:
{
"summary"
:
"Re
move and get
the last elements
in
a list"
,
"summary"
:
"Re
turns and removes
the last elements
of
a list
. Deletes the list if the lst element was popped.
"
,
"complexity"
:
"O(N) where N is the number of elements returned"
,
"group"
:
"list"
,
"since"
:
"1.0.0"
,
...
...
src/commands/rpoplpush.json
View file @
ad94bc31
{
"RPOPLPUSH"
:
{
"summary"
:
"Re
move
the last element
in
a list
, prepend it to another list and return it
"
,
"summary"
:
"Re
turns
the last element
of
a list
after removing and pushing it to another list. Deletes the list if the lst element was popped.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"list"
,
"since"
:
"1.2.0"
,
...
...
src/commands/rpush.json
View file @
ad94bc31
{
"RPUSH"
:
{
"summary"
:
"Append one or m
ultipl
e elements to a list"
,
"summary"
:
"Append
s
one or m
or
e elements to a list
. Creates the key if it doesn't exist.
"
,
"complexity"
:
"O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments."
,
"group"
:
"list"
,
"since"
:
"1.0.0"
,
...
...
src/commands/rpushx.json
View file @
ad94bc31
{
"RPUSHX"
:
{
"summary"
:
"Append an element to a list
,
only
if
the list exists"
,
"summary"
:
"Append
s
an element to a list only
when
the list exists
.
"
,
"complexity"
:
"O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments."
,
"group"
:
"list"
,
"since"
:
"2.2.0"
,
...
...
src/commands/sadd.json
View file @
ad94bc31
{
"SADD"
:
{
"summary"
:
"Add one or more members to a set"
,
"summary"
:
"Add
s
one or more members to a set
. Creates the key if it doesn't exist.
"
,
"complexity"
:
"O(1) for each element added, so O(N) to add N elements when the command is called with multiple arguments."
,
"group"
:
"set"
,
"since"
:
"1.0.0"
,
...
...
src/commands/save.json
View file @
ad94bc31
{
"SAVE"
:
{
"summary"
:
"Synchronously save the data
set
to disk"
,
"summary"
:
"Synchronously save
s
the data
base(s)
to disk
.
"
,
"complexity"
:
"O(N) where N is the total number of keys in all databases"
,
"group"
:
"server"
,
"since"
:
"1.0.0"
,
...
...
src/commands/scan.json
View file @
ad94bc31
{
"SCAN"
:
{
"summary"
:
"I
ncrementally iterate the keys space
"
,
"summary"
:
"I
terates over the key names in the database.
"
,
"complexity"
:
"O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection."
,
"group"
:
"generic"
,
"since"
:
"2.8.0"
,
...
...
src/commands/scard.json
View file @
ad94bc31
{
"SCARD"
:
{
"summary"
:
"
G
et the number of members in a set"
,
"summary"
:
"
R
et
urns
the number of members in a set
.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"set"
,
"since"
:
"1.0.0"
,
...
...
src/commands/script-debug.json
View file @
ad94bc31
{
"DEBUG"
:
{
"summary"
:
"Set the debug mode
for executed
scripts."
,
"summary"
:
"Set
s
the debug mode
of server-side Lua
scripts."
,
"complexity"
:
"O(1)"
,
"group"
:
"scripting"
,
"since"
:
"3.2.0"
,
...
...
src/commands/script-exists.json
View file @
ad94bc31
{
"EXISTS"
:
{
"summary"
:
"
Check existence of
scripts in the script cache."
,
"summary"
:
"
Determines whether server-side Lua
scripts
exist
in the script cache."
,
"complexity"
:
"O(N) with N being the number of scripts to check (so checking a single script is an O(1) operation)."
,
"group"
:
"scripting"
,
"since"
:
"2.6.0"
,
...
...
src/commands/script-flush.json
View file @
ad94bc31
{
"FLUSH"
:
{
"summary"
:
"Remove all
the
scripts from the script cache."
,
"summary"
:
"Remove
s
all
server-side Lua
scripts from the script cache."
,
"complexity"
:
"O(N) with N being the number of scripts in cache"
,
"group"
:
"scripting"
,
"since"
:
"2.6.0"
,
...
...
src/commands/script-help.json
View file @
ad94bc31
{
"HELP"
:
{
"summary"
:
"
Show
helpful text about the different subcommands"
,
"summary"
:
"
Returns
helpful text about the different subcommands
.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"scripting"
,
"since"
:
"5.0.0"
,
...
...
src/commands/script-kill.json
View file @
ad94bc31
{
"KILL"
:
{
"summary"
:
"
Kill the
script
c
ur
rently
in execution."
,
"summary"
:
"
Terminates a server-side Lua
script
d
urin
g
execution."
,
"complexity"
:
"O(1)"
,
"group"
:
"scripting"
,
"since"
:
"2.6.0"
,
...
...
src/commands/script-load.json
View file @
ad94bc31
{
"LOAD"
:
{
"summary"
:
"Load
the specified
Lua script
in
to the script cache."
,
"summary"
:
"Load
s a server-side
Lua script to the script cache."
,
"complexity"
:
"O(N) with N being the length in bytes of the script body."
,
"group"
:
"scripting"
,
"since"
:
"2.6.0"
,
...
...
src/commands/script.json
View file @
ad94bc31
{
"SCRIPT"
:
{
"summary"
:
"A container for Lua scripts management commands"
,
"summary"
:
"A container for Lua scripts management commands
.
"
,
"complexity"
:
"Depends on subcommand."
,
"group"
:
"scripting"
,
"since"
:
"2.6.0"
,
...
...
src/commands/sdiff.json
View file @
ad94bc31
{
"SDIFF"
:
{
"summary"
:
"
Subtract
multiple sets"
,
"summary"
:
"
Returns the difference of
multiple sets
.
"
,
"complexity"
:
"O(N) where N is the total number of elements in all given sets."
,
"group"
:
"set"
,
"since"
:
"1.0.0"
,
...
...
src/commands/sdiffstore.json
View file @
ad94bc31
{
"SDIFFSTORE"
:
{
"summary"
:
"S
ubtract multiple sets and store the res
ulti
ng
set in a key"
,
"summary"
:
"S
tores the difference of m
ulti
ple
set
s
in a key
.
"
,
"complexity"
:
"O(N) where N is the total number of elements in all given sets."
,
"group"
:
"set"
,
"since"
:
"1.0.0"
,
...
...
src/commands/select.json
View file @
ad94bc31
{
"SELECT"
:
{
"summary"
:
"Change the selected database
for the current connection
"
,
"summary"
:
"Change
s
the selected database
.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"connection"
,
"since"
:
"1.0.0"
,
...
...
src/commands/sentinel-ckquorum.json
View file @
ad94bc31
{
"CKQUORUM"
:
{
"summary"
:
"Check for a Sentinel quorum"
,
"summary"
:
"Check
s
for a
Redis
Sentinel quorum
.
"
,
"group"
:
"sentinel"
,
"since"
:
"2.8.4"
,
"arity"
:
3
,
...
...
Prev
1
…
10
11
12
13
14
15
16
17
18
…
22
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment