mirror of
https://github.com/fluencelabs/redis
synced 2025-07-24 04:51:55 +00:00
client-libraries
doc
AuthCommand.html
Benchmarks.html
BgsaveCommand.html
CommandReference.html
Credits.html
DbsizeCommand.html
DelCommand.html
DesignPatterns.html
ExistsCommand.html
ExpireCommand.html
FAQ.html
FlushallCommand.html
FlushdbCommand.html
GetCommand.html
GetsetCommand.html
IncrCommand.html
InfoCommand.html
KeysCommand.html
LastsaveCommand.html
LindexCommand.html
LlenCommand.html
LpopCommand.html
LrangeCommand.html
LremCommand.html
LsetCommand.html
LtrimCommand.html
MgetCommand.html
MonitorCommand.html
MoveCommand.html
ProtocolSpecification.html
QuickStart.html
QuitCommand.html
README.html
RandomkeyCommand.html
RenameCommand.html
RenamenxCommand.html
ReplicationHowto.html
ReplyTypes.html
RpushCommand.html
SaddCommand.html
SaveCommand.html
ScardCommand.html
SdiffCommand.html
SdiffstoreCommand.html
SelectCommand.html
SetCommand.html
SetnxCommand.html
ShutdownCommand.html
SinterCommand.html
SinterstoreCommand.html
SismemberCommand.html
SlaveofCommand.html
SmembersCommand.html
SmoveCommand.html
SortCommand.html
SpopCommand.html
SremCommand.html
SunionCommand.html
SunionstoreCommand.html
TemplateCommand.html
TtlCommand.html
TwitterAlikeExample.html
TypeCommand.html
UnstableSource.html
index.html
redis.png
style.css
utils
.gitignore
BETATESTING.txt
BUGS
COPYING
Changelog
Makefile
README
TODO
adlist.c
adlist.h
ae.c
ae.h
anet.c
anet.h
benchmark.c
config.h
dict.c
dict.h
fmacros.h
lzf.h
lzfP.h
lzf_c.c
lzf_d.c
pqsort.c
pqsort.h
redis-cli.c
redis.c
redis.conf
redis.h
sds.c
sds.h
solarisfixes.h
test-redis.tcl
zmalloc.c
zmalloc.h
40 lines
1.5 KiB
HTML
40 lines
1.5 KiB
HTML
![]() |
|
||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<link type="text/css" rel="stylesheet" href="style.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="page">
|
||
|
|
||
|
<div id='header'>
|
||
|
<a href="index.html">
|
||
|
<img style="border:none" alt="Redis Documentation" src="redis.png">
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<div id="pagecontent">
|
||
|
<div class="index">
|
||
|
<!-- This is a (PRE) block. Make sure it's left aligned or your toc title will be off. -->
|
||
|
<b>RandomkeyCommand: Contents</b><br> <a href="#RANDOMKEY">RANDOMKEY</a><br> <a href="#Return value">Return value</a><br> <a href="#See also">See also</a>
|
||
|
</div>
|
||
|
|
||
|
<h1 class="wikiname">RandomkeyCommand</h1>
|
||
|
|
||
|
<div class="summary">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="narrow">
|
||
|
<h1><a name="RANDOMKEY">RANDOMKEY</a></h1>
|
||
|
<i>Time complexity: O(1)</i><blockquote>Return a randomly selected key from the currently selected DB.</blockquote>
|
||
|
<h2><a name="Return value">Return value</a></h2><a href="ReplyTypes.html">Singe line reply</a>, specifically the randomly selected key or an empty string is the database is empty.<h2><a name="See also">See also</a></h2>
|
||
|
<ul><li> <a href="KeysCommand.html">KEYS</a></li></ul>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|
||
|
|