Ecto v1.1.0
Ecto.Schema.Metadata
Stores metadata of a struct.
The fields are:
state
- the state in a struct’s lifetime, one of :built
,
:loaded
, :deleted
source
- the source for the model alongside the query prefix,
defaults to {nil, "source"}
context
- context stored by the database