# `Localize.UnitWithUsage.Ecto.Composite.Type`
[🔗](https://github.com/elixir-localize/localize_sql/blob/v1.0.1/lib/localize/unit/ecto/with_usage_composite_type.ex#L2)

Implements the `Ecto.Type` behaviour for a user-defined Postgres composite
type called `:cldr_unit_with_usage`.

This is the preferred option for Postgres databases since the serialized
unit value is stored as a decimal number and the unit usage is preserved
across the round trip.

# `blank?`

# `cast`

# `dump`

# `embed_as`

# `equal?`

# `load`

# `type`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
