# `Money.Ecto.Map.Type`
[🔗](https://github.com/kipcole9/money_sql/blob/v2.0.0/lib/money/ecto/money_ecto_map_type.ex#L2)

Implements Ecto.Type behaviour for Money, where the underlying schema type
is a map.

This is the required option for databases such as MySQL that do not support
composite types.

In order to preserve precision, the amount is serialized as a string since the
JSON representation of a numeric value is either an integer or a float.

`Decimal.to_string/1` is not guaranteed to produce a string that will round-trip
convert back to the identical number.

# `cast`

# `cast`

# `dump`

# `embed_as`

# `equal?`

# `init`

# `load`

# `type`

---

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