View Source Ecto.SubQuery (Ecto v3.11.0)

A struct representing subqueries.

Users of Ecto must consider this struct as opaque and not access its field. Authors of adapters may read its contents, but never modify them.

See Ecto.Query.subquery/2 for more information.

Summary

Types

@type t() :: %Ecto.SubQuery{
  cache: term(),
  params: term(),
  query: term(),
  select: term()
}