AshNeo4j.DataLayer
View SourceAsh DataLayer for Neo4j
neo4j
Examples
neo4j do
store [:title]
translate id: :uuid
relate [{:post, :BELONGS_TO, :outgoing}]
end
Options
Name | Type | Default | Docs |
---|---|---|---|
label | atom | Optional node label | |
relate | list({atom, atom, atom}) | Optional list of node relationships, as tuples of {relationship_name, edge_label, edge_direction} | |
skip | list(atom) | Optional list of attributes not to be stored directly as node properties | |
translate | keyword | Optional list of attribute to node property translations |