Files
redis-docs/docs/RandomkeyCommand.rst
Kenneth Reitz 525e9fd3d3 all into sphinx
2011-04-06 13:27:48 -04:00

20 lines
552 B
ReStructuredText
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
`|Redis Documentation| <index.html>`_
**RandomkeyCommand: Contents**
  `RANDOMKEY <#RANDOMKEY>`_
    `Return value <#Return%20value>`_
RandomkeyCommand
================
#sidebar `GenericCommandsSidebar <GenericCommandsSidebar.html>`_
RANDOMKEY
=========
*Time complexity: O(1)*
Return a randomly selected key from the currently selected DB.
Return value
------------
`Singe line reply <ReplyTypes.html>`_, specifically the randomly
selected key or an empty string is the database is empty.
.. |Redis Documentation| image:: redis.png