documentation/dsls/DSL-AshNeo4j.DataLayer.md

<!--
This file was generated by Spark. Do not edit it by hand.
-->
# AshNeo4j.DataLayer

Ash DataLayer for Neo4j

## neo4j




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

```




### Options

| Name | Type | Default | Docs |
|------|------|---------|------|
| [`label`](#neo4j-label){: #neo4j-label } | `atom` |  | Optional node label |
| [`relate`](#neo4j-relate){: #neo4j-relate } | `list({atom, atom, atom, atom})` |  | Optional list of relationships, as tuples of {relationship_name, edge_label, edge_direction, destination_label} |
| [`guard`](#neo4j-guard){: #neo4j-guard } | `list({atom, atom, atom})` |  | Optional list of node relationships, as tuples of {edge_label, edge_direction, destination_label} |
| [`translate`](#neo4j-translate){: #neo4j-translate } | `keyword` |  | Optional list of attribute to node property translations |
| [`skip`](#neo4j-skip){: #neo4j-skip } | `list(atom)` |  | Optional list of attributes not to be stored directly as node properties |







<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>