Poney.Model.DataRelation (Poney v0.1.0)

Copy Markdown View Source

A relation between two data types (§5.4), with crow's foot ends such as "exactly-one". logical relations cross a service boundary and have no database constraint.

Summary

Types

t()

@type t() :: %Poney.Model.DataRelation{
  from: String.t(),
  from_cardinality: String.t(),
  id: String.t(),
  label: String.t(),
  logical: boolean(),
  to: String.t(),
  to_cardinality: String.t(),
  via: String.t() | nil
}