table

ReQL command: table

Command syntax

db.table(name[, read_mode='single', identifier_format='name']) → table

Description

Return all documents in a table. Other commands may be chained after table to return a subset of documents (such as get and filter) or perform further processing.

Example: Return all documents in the table ‘marvel’ of the default database.

r.table('marvel').run(conn)

Example: Return all documents in the table ‘marvel’ of the database ‘heroes’.

r.db('heroes').table('marvel').run(conn)

There are two optional arguments.