Ash DataLayer for Neo4j
neo4j
Examples
neo4j do
label :Comment
relate [{:post, :BELONGS_TO, :outgoing, :Post}]
end
Options
| Name | Type | Default | Docs |
|---|---|---|---|
label | atom | Optional node label | |
relate | list({atom, atom, atom, atom}) | [] | Optional list of relationships, as tuples of {relationship_name, edge_label, edge_direction, destination_label} |
guard | list({atom, atom, atom}) | [] | Optional list of node relationships, as tuples of {edge_label, edge_direction, destination_label} |
skip | list(atom) | [] | Optional list of attributes not to be stored directly as node properties |