run-queries
Run the queries from a file.
Syntax
fauna run-queries [DBNAME] [QUERY] --file <value> [--url <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--environment <value>] [--stdin] [--output <value>] [--format json|json-tagged|shell] [--version 4|10] [--typecheck]
Options
Option | Description |
---|---|
|
Connection endpoint, from the ~/.fauna-shell file. |
|
Environment to use, from a Fauna project. |
|
Name of file with queries to run. |
|
Output format: |
|
Help for |
|
File to write output to. |
|
Secret key. Overrides the secret in the ~/.fauna-shell file. |
|
Read file input from stdin. Write to stdout by default. |
|
Connection timeout (milliseconds). |
|
Enable typechecking. |
|
Database URL. Overrides the URL in the \~/.fauna-shell file. |
|
FQL Version: |
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!