code | type | title |
---|---|---|
true |
page |
randomkey |
Returns a key identifier from the memory storage, at random.
randomkey([options]);
Arguments | Type | Description |
---|---|---|
key |
string |
Key |
options |
object |
Optional query arguments |
The options
arguments can contain the following option properties:
Property | Type (default) | Description |
---|---|---|
queuable |
boolean (true) |
If true, queues the request during downtime, until connected to Kuzzle again |
Resolves to a key identifier, at random.
<<< ./snippets/randomkey.js