W3cubDocs

/RethinkDB Ruby

ReQL command: db_list

Command syntax

r.db_list() → array

Description

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

Example: List all databases.

r.db_list.run(conn)

Related commands

Get more help

Couldn't find what you were looking for?

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