list-databases

List child databases in the current database.

Syntax

fauna list-databases [--url <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--environment <value>]

Description

The list-databases command lists databases. If command line options are omitted, Fauna uses the default configuration file options.

You can’t use this command to list parent or peer databases.

To access a database outside of the current database, use the Fauna Dashboard.

Options

Option Description

--endpoint

Connection endpoint, from the ~/.fauna-shell file.

--environment

Environment to use, from a Fauna project.

--help

Help for create-database command.

--secret

Secret key. Overrides the secret in the ~/.fauna-shell file.

--timeout

Connection timeout (milliseconds).

--url

Database URL. Overrides the URL in the \~/.fauna-shell file.

Examples

fauna list-databases
listing databases
my-test-db

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!