Ecto v2.2.10 Ecto.Schema.Metadata View Source

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 schema alongside the query prefix, defaults to {nil, "source"}
  • context - context stored by the database