API Reference ecto_range v0.2.0

modules

Modules

EctoRange is a tiny library that provides Ecto custom types for all Postgres Range types.

A custom type for working with the Postgres daterange type.

A Postgres range of int4 integers. Equivalent to int4range.

A Postgres range of int8 integers. Equivalent to int8range. Allows bigint values.

A Postgres range of numeric values. Equivalent to numrange. Allows numeric values of all precisions. Returns Decimal structs when loading from the database.

A custom type for working with the Postgres tsrange type.