Ecto.put_meta
You're seeing just the function
put_meta
, go back to Ecto module for more information.
Specs
put_meta(Ecto.Schema.schema(), meta) :: Ecto.Schema.schema() when meta: [ source: Ecto.Schema.source(), prefix: Ecto.Schema.prefix(), context: Ecto.Schema.Metadata.context(), state: Ecto.Schema.Metadata.state() ]
Returns a new struct with updated metadata.
It is possible to set:
:source
- changes the struct query source:prefix
- changes the struct query prefix:context
- changes the struct meta context:state
- changes the struct state
Please refer to the Ecto.Schema.Metadata
module for more information.