Search...
ctrl/
Light
Dark
System
Sign in

gel query​

Execute one or more EdgeQL queries.

gel query [options] edgeql-query...

gel 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.