Light
Dark
System
v3latest
v3latest
v2
v1

edgedb query

Execute one or more EdgeQL queries.

edgedb query [options] edgeql-query...

edgedb query is a terminal command used to execute EdgeQL queries provided as space-separated strings.

The query command runs on the database it is connected to. For specifying the connection target see connection options.

-F, --output-format=output_format

Output format: json, json-pretty, json-lines, tab-separated. Default is json-pretty.

-f, --file=file

Filename to execute queries from. Pass --file - to execute queries from stdin.

edgeql-query

Any valid EdgeQL query to be executed.

Light
Dark
System

We use ChatGPT with additional context from our documentation to answer your questions. Not all answers will be accurate. Please join our Discord if you need more help.