First Queries with Cypher
Learn how to execute some basic Cypher queries on the property graph model.
We'll cover the following...
Queries
Let’s execute the following Cypher queries on our default graph:
Press + to interact
iex> graph_service PropertyGraphiex> graph_infoiex> list_queries_dir("lib") |> Enum.each(...> fn f -> IO.puts "* " <> f; read_query("lib/" <> f).data |> IO.puts end...> )iex> read_query("lib/node1.cypher").data |> cypher!
Line 1: We switch our context to use the ...