Ecto.Schema.Metadata
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 schema alongside the query prefix, defaults to{nil, "source"}
-
context
- context stored by the database
© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Ecto.Schema.Metadata.html