AshNeo4j.DataLayer

View Source

Ash DataLayer for Neo4j

neo4j

Examples

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

Options

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