Bolt.Sips v1.0.0-rc2 mix bolt.cypher View Source

Quickly run Cypher commands from a mix task

Command line options

  • --url, -u - Neo4j server URL
  • --ssl, -s - use ssl

The command line options have lower precedence than the options specified in your mix.exs file, if defined.

Examples:

MIX_ENV=test mix bolt.cypher "MATCH (people:Person) RETURN people.name LIMIT 5"

Output sample:

"MATCH (people:Person) RETURN people.name as name LIMIT 5"
[%{"name" => "Keanu Reeves"}, %{"name" => "Carrie-Anne Moss"},
 %{"name" => "Andy Wachowski"}, %{"name" => "Lana Wachowski"},
 %{"name" => "Joel Silver"}]