API Reference Money v1.7.2
modules
Modules
Functions to return SQL DDL commands that support the
creation and deletion of the money_with_currency
database
type and associated aggregate functions.
Implements the Ecto.Type behaviour for a user-defined Postgres composite type
called :money_with_currency
.
Implements Ecto.Type behaviour for Money, where the underlying schema type is a map.
Implements Ecto validations for the Money.t/0
type based upon the
Money.Ecto.Composite.Type
type.
mix-tasks
Mix Tasks
Generates a migration to add a aggregation functions
to Postgres for the money_with_currency
type
Generates a migration to add a composite type called :money_with_currency
to a Postgres database.
Generates a migration to add a +
operator
to Postgres for the money_with_currency
type