code | type | title |
---|---|---|
true |
page |
dbsize |
Returns the number of keys in the application database.
dbsize([options]);
Arguments | Type | Description |
---|---|---|
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 the number of found keys.
<<< ./snippets/dbsize.js