Seraph v0.2.2 Seraph.Schema.Relationship.Incoming

Stores data about an outgoing relationship.

Fields are:

  • start_node - The start node schema
  • end_node - The end node schema
  • field - The node schema field where relationship data will be storerd
  • cardinality - The relationship cardinality
  • schema - The relationship module

Link to this section Summary

Link to this section Types

Link to this type

t()

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()
}