W3cubDocs

/RethinkDB JavaScript

ReQL command: tableList

Command syntax

db.tableList() → array

Description

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

Example: List all tables of the ‘test’ database.

r.db('test').tableList().run(conn, callback)

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/javascript/table_list/