View Source Flint.Extensions.Embedded (Flint v0.4.0)
An extension to house common default configurations for embedded schemas. These configurations are specific for in-memory schemas.
Attributes
The following attributes and defaults are set by this extension:
:schema_prefix
:schema_context
:primary_key
- defaults tofalse
:timestamp_opts
- defaults to[type: :naive_datetime]
A new schema reflection function is made for each attribute:
__schema__(:schema_context)
...