| layout | api-command | ||||||
|---|---|---|---|---|---|---|---|
| language | JavaScript | ||||||
| permalink | api/javascript/db_list/ | ||||||
| command | dbList | ||||||
| io |
|
||||||
| related_commands |
|
{% apibody %} r.dbList() → array {% endapibody %}
List all database names in the system. The result is a list of strings.
Example: List all databases.
r.dbList().run(conn, callback)