AshNeo4j.DataLayer
View SourceAsh DataLayer for Neo4j
neo4j
Examples
neo4j do
label :Comment
relate [{:post, :BELONGS_TO, :outgoing}]
translate id: :uuid
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} | |
translate | keyword | Optional list of attribute to node property translations | |
skip | list(atom) | Optional list of attributes not to be stored directly as node properties |