Skip to Content
Cypher Shell

Overview

Shell is a cypher interpreter that reads flavius commands from the standard input and executes them. It provides a simple interface for interacting with the flavius database.

Usage

Usage: shell [OPTIONS] Options: --host <HOST> frontend host [default: localhost] --port <PORT> frontend port [default: 30000] -t <TRACING_ENDPOINT> tracing endpoint(e.g.: http://alloy:4317) --timezone <TIMEZONE> timezone --file <FILE> query statement file to execute -h, --help Print help -V, --version Print version

Setting session variables

Setting NAMESPACE

The .use NAMESPACE command sets the current namespace for subsequent queries

.use NAMESPACE <namespace>

Setting GRAPH The .use GRAPH command sets the current graph for subsequent queries.

NOTICE: The graph must be created before using it.

.use GRAPH <database>

Reset NAMESPACE and GRAPH

The .reset command resets the current namespace and graph to the None values.

.reset

Setting Parameters

The .param command sets a parameter for subsequent queries.

.param <key>=<value>
Last updated on