Neo4j.Sips v0.1.30 Neo4j.Sips.Utils

Common utilities

Summary

Functions

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

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.