Ecto v3.0.0-rc.1 API Reference
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
Changesets allow filtering, casting, validation and definition of constraints when manipulating structs
Struct used for logging entries
Ecto.Multi
is a data structure for grouping multiple Repo operations
Provides the Query DSL
Lists all functions allowed in the query API
Lists all windows functions
Converts a data structure into an Ecto.Query
Defines a repository
Defines a schema
Stores metadata of a struct
Stores subquery information
An Ecto type for UUIDs strings
Conveniences for writing Ecto related Mix tasks
Exceptions
Raised when a changeset can’t cast a value
Raised when we cannot perform an action because the changeset is invalid
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
Raised at runtime when a value cannot be cast
Raised at compilation time when the query cannot be compiled
Raised at runtime when the query is invalid
Raised at runtime when a subquery is invalid
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