ReQL command: dbList

Command syntax

r.dbList() → array

Description

List all database names in the cluster. The result is a list of strings.

Example: List all databases.

r.dbList().run(conn);

© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/java/db_list/