AshNeo4j.DataLayer

View Source

Ash DataLayer for Neo4j

neo4j

Examples

neo4j do
  label :Comment
  store [:title]
  translate id: :uuid
  relate [{:post, :BELONGS_TO, :outgoing}]
end

Options

NameTypeDefaultDocs
labelatomThe node label
relatelist({atom, atom, atom})Optional list of node relationships, as tuples of {relationship_name, edge_label, edge_direction}
skiplist(atom)Optional list of attributes not to be stored directly as node properties
translatekeywordOptional list of attribute to node property translations