Command reference

The editor in Query understands a few client-side commands, which begin with a colon (:).

Query commands

Table 1. List of commands
Command Description

:access-mode read/write

Set the access mode to read or write.

:clear

Remove all frames from the stream.

:connect

Connect to a Neo4j instance. If already connected, this returns the instance you are connected to.

:disconnect

Disconnect the currently open connection toan instance.

:history

Open the history drawer of your executed commands.

:param <key-value>

Set one parameter.
The key-value can be specified as x => 1.

:params

Show all parameters. See Query parameters for more information.

:params clear

Remove all parameters.

:params {<key-value pairs>}

Remove all parameters and then set the parameters to the specified key-value pairs.
The key-value pairs can be specified as {x: 1, y: 2}.

:server connect

Connect to an instance. If already connected, this returns the instance you are connected to.

:server disconnect

Disconnect the currently open connection to Neo4j.

:style

Show the current style configuration.

:style reset

Reset the style to the default styling.

:sysinfo

Show information about Store Size, Id Allocation, Page Cache, Transactions, and Databases.

:welcome

Launches the entry page with interactive guides. This is the initial command that is automatically executed every time you connect to an instance.