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]
Description
Run the queries provided in file.
By default, this command supports FQL v10 queries. For FQL v4
queries, use the --version 4
option.
FQL v4 access
Fauna accounts created after August 21, 2024 can’t use |
Options
Option | Description |
---|---|
|
Connection endpoint from |
|
Environment to use, from a Fauna project. |
|
Name of file with queries to run. |
|
Output format: |
|
Help for |
|
File to write output to. |
|
Authentication secret. Overrides the
secret in |
|
Read file input from stdin. Write to stdout by default. |
|
Connection timeout (milliseconds). |
|
Enable typechecking. |
|
Database URL. Overrides the URL in |
|
FQL Version: See FQL v4 access. |
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!