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
Show whitespace changes
Inline
Side-by-side
src/commands/expire.json
View file @
ad94bc31
{
"EXPIRE"
:
{
"summary"
:
"Set
a key's time to live
in seconds"
,
"summary"
:
"Set
s the expiration time of a key
in seconds
.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"generic"
,
"since"
:
"1.0.0"
,
...
...
src/commands/expireat.json
View file @
ad94bc31
{
"EXPIREAT"
:
{
"summary"
:
"Set the expiration
for
a key
as
a U
NIX
timestamp"
,
"summary"
:
"Set
s
the expiration
time of
a key
to
a U
nix
timestamp
.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"generic"
,
"since"
:
"1.2.0"
,
...
...
src/commands/expiretime.json
View file @
ad94bc31
{
"EXPIRETIME"
:
{
"summary"
:
"
G
et the expiration Unix timestamp
for a key
"
,
"summary"
:
"
R
et
urns
the expiration
time of a key as a
Unix timestamp
.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"generic"
,
"since"
:
"7.0.0"
,
...
...
src/commands/failover.json
View file @
ad94bc31
{
"FAILOVER"
:
{
"summary"
:
"Start a coordinated failover
between this
server
and
one of its replicas."
,
"summary"
:
"Start
s
a coordinated failover
from a
server
to
one of its replicas."
,
"complexity"
:
"O(1)"
,
"group"
:
"server"
,
"since"
:
"6.2.0"
,
...
...
src/commands/fcall.json
View file @
ad94bc31
{
"FCALL"
:
{
"summary"
:
"Invoke a function"
,
"summary"
:
"Invoke
s
a function
.
"
,
"complexity"
:
"Depends on the function that is executed."
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/fcall_ro.json
View file @
ad94bc31
{
"FCALL_RO"
:
{
"summary"
:
"Invoke a read-only function"
,
"summary"
:
"Invoke
s
a read-only function
.
"
,
"complexity"
:
"Depends on the function that is executed."
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/flushall.json
View file @
ad94bc31
{
"FLUSHALL"
:
{
"summary"
:
"Remove all keys from all databases"
,
"summary"
:
"Remove
s
all keys from all databases
.
"
,
"complexity"
:
"O(N) where N is the total number of keys in all databases"
,
"group"
:
"server"
,
"since"
:
"1.0.0"
,
...
...
src/commands/flushdb.json
View file @
ad94bc31
{
"FLUSHDB"
:
{
"summary"
:
"Remove all keys from the current database"
,
"summary"
:
"Remove all keys from the current database
.
"
,
"complexity"
:
"O(N) where N is the number of keys in the selected database"
,
"group"
:
"server"
,
"since"
:
"1.0.0"
,
...
...
src/commands/function-delete.json
View file @
ad94bc31
{
"DELETE"
:
{
"summary"
:
"Delete a
function by name
"
,
"summary"
:
"Delete
s
a
library and its functions.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function-dump.json
View file @
ad94bc31
{
"DUMP"
:
{
"summary"
:
"Dump all
function
s into a serialized binary payload"
,
"summary"
:
"Dump
s
all
librarie
s into a serialized binary payload
.
"
,
"complexity"
:
"O(N) where N is the number of functions"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function-flush.json
View file @
ad94bc31
{
"FLUSH"
:
{
"summary"
:
"Delet
ing
all functions"
,
"summary"
:
"Delet
es
all
libraries and
functions
.
"
,
"complexity"
:
"O(N) where N is the number of functions deleted"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function-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"
:
"7.0.0"
,
...
...
src/commands/function-kill.json
View file @
ad94bc31
{
"KILL"
:
{
"summary"
:
"
Kill the
function
c
ur
rently
in execution."
,
"summary"
:
"
Terminates a
function
d
urin
g
execution."
,
"complexity"
:
"O(1)"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function-list.json
View file @
ad94bc31
{
"LIST"
:
{
"summary"
:
"
List
information about all
the functions
"
,
"summary"
:
"
Returns
information about all
libraries.
"
,
"complexity"
:
"O(N) where N is the number of functions"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function-load.json
View file @
ad94bc31
{
"LOAD"
:
{
"summary"
:
"Create a
function with the given arguments (name, code, description)
"
,
"summary"
:
"Create
s
a
library.
"
,
"complexity"
:
"O(1) (considering compilation time is redundant)"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function-restore.json
View file @
ad94bc31
{
"RESTORE"
:
{
"summary"
:
"Restore all
the functions on the given
payload"
,
"summary"
:
"Restore
s
all
libraries from a
payload
.
"
,
"complexity"
:
"O(N) where N is the number of functions on the payload"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function-stats.json
View file @
ad94bc31
{
"STATS"
:
{
"summary"
:
"Return information about
the
function
c
ur
rently running (name, description, dura
tion
)
"
,
"summary"
:
"Return
s
information about
a
function
d
ur
ing execu
tion
.
"
,
"complexity"
:
"O(1)"
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/function.json
View file @
ad94bc31
{
"FUNCTION"
:
{
"summary"
:
"A container for function commands"
,
"summary"
:
"A container for function commands
.
"
,
"complexity"
:
"Depends on subcommand."
,
"group"
:
"scripting"
,
"since"
:
"7.0.0"
,
...
...
src/commands/geoadd.json
View file @
ad94bc31
{
"GEOADD"
:
{
"summary"
:
"Add one or more
geospatial items in the geospatial index represented using a sorted set
"
,
"summary"
:
"Add
s
one or more
members to a geospatial index. The key is created if it doesn't exist.
"
,
"complexity"
:
"O(log(N)) for each item added, where N is the number of elements in the sorted set."
,
"group"
:
"geo"
,
"since"
:
"3.2.0"
,
...
...
src/commands/geodist.json
View file @
ad94bc31
{
"GEODIST"
:
{
"summary"
:
"Returns the distance between two members of a geospatial index"
,
"summary"
:
"Returns the distance between two members of a geospatial index
.
"
,
"complexity"
:
"O(log(N))"
,
"group"
:
"geo"
,
"since"
:
"3.2.0"
,
...
...
Prev
1
…
3
4
5
6
7
8
9
10
11
…
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