Neo4j.Sips v0.2.17 Neo4j.Sips.Utils

Common utilities

Summary

Functions

Fills in the given opts with default options

use a collection for finding and extracting elements with a given name

Given a list of queries i.e. [{"cypher statement ..."}, %{parameters...}], this method will return a JSON that may look like this

Generate a random string

Functions

default_config(config \\ Application.get_env(:neo4j_sips, Neo4j))
default_config(Keyword.t) :: Keyword.t

Fills in the given opts with default options.

get_element(c, name)

use a collection for finding and extracting elements with a given name

neo4j_statements(queries, options \\ nil)

Given a list of queries i.e. [{"cypher statement ..."}, %{parameters...}], this method will return a JSON that may look like this:

{ "statements" : [ { "statement" : "CREATE (n {props}) RETURN n", "parameters" : { "props" : { "name" : "My Node" } } } ] }

random_id()

Generate a random string.