Ecto.Adapters.Mnesia.Constraint.Proto protocol (Ecto3 Mnesia v0.3.0) View Source
Protocol for constraints
Link to this section Summary
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Specs
check(t(), Keyword.t()) :: :ok | {:error, Ecto.Adapters.Mnesia.Constraint.constraint()}
Returns nil if constraint is valid
Specs
Returns constraint table