edgedb query

Execute one or more EdgeQL queries.

  1. edgedb query [options] edgeql-query...

Description

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

Options

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.