Search
ctrl/
Ask AI
Light
Dark
System

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.