View Source API Reference Ecto v3.12.1

Modules

Ecto is split into 4 main components

Specifies the minimal API required from adapters.

Specifies the query API required from adapters.

Specifies the schema API required from adapters.

Specifies the adapter storage API.

Specifies the adapter transactions API.

The association struct for a belongs_to association.

The association struct for has_one and has_many associations.

The association struct for has_one and has_many through associations.

The association struct for many_to_many associations.

Struct returned by associations when they are not loaded.

Raised when a changeset can't cast a value.

Changesets allow filtering, casting, validation and definition of constraints when manipulating structs.

The embedding struct for embeds_one and embeds_many.

A custom type that maps atoms to strings or integers.

Raised when we cannot perform an action because the changeset is invalid.

Ecto.Multi is a data structure for grouping multiple Repo operations.

Raised at runtime when an operation that requires a primary key is invoked with a schema that does not define a primary key by using @primary_key false

Raised at runtime when an operation that requires a primary key is invoked with a schema missing value for its primary key

Parameterized types are Ecto types that can be customized per field.

Provides the Query DSL.

Lists all functions allowed in the query API.

Raised at runtime when a value cannot be cast.

Raised at compilation time when the query cannot be compiled.

Lists all windows functions.

Raised at runtime when the query is invalid.

Converts a data structure into an Ecto.Query.

Defines a repository.

An Ecto schema maps external data into Elixir structs.

Stores metadata of a struct.

A struct representing subqueries.

Raised at runtime when a subquery is invalid.

Defines functions and the Ecto.Type behaviour for implementing basic custom types.

An Ecto type for UUID strings.

Conveniences for writing Ecto related Mix tasks.

Mix Tasks

Prints Ecto tasks and their information.

Create the storage for the given repository.

Drop the storage for the given repository.

Generates a new repository.