Endon.all

You're seeing just the function all, go back to Endon module for more information.

Specs

all(opts :: keyword()) :: [Ecto.Schema.t()]

Fetches all entries from the data store matching the given query.

Limit results to those matching these conditions. Value can be anything accepted by where/2 (including a Ecto.Query.t/0).

Options

  • :order_by - By default, orders by primary key ascending
  • :preload - A list of fields to preload, much like Ecto.Repo.preload/3
  • :offset - Number to offset by