Seraph.Schema.Relationship.Incoming (Seraph v0.2.4)
Stores data about an outgoing relationship.
Fields are:
start_node
- The start node schemaend_node
- The end node schemafield
- The node schema field where relationship data will be storerdcardinality
- The relationship cardinalityschema
- The relationship module
Link to this section Summary
Link to this section Types
Specs
t() :: %Seraph.Schema.Relationship.Incoming{ cardinality: :one | :many, direction: :outgoing | :incoming, end_node: Seraph.Repo.queryable(), field: atom(), schema: Seraph.Repo.queryable(), start_node: Seraph.Repo.queryable(), type: String.t() }