View Source AshCubDB.Query (ash_cubdb v0.6.2)

A struct which holds information about a resource query as it is being built.

Summary

Types

@type t() :: %AshCubDB.Query{
  aggregates: [Ash.Resource.Aggregate.t()],
  calculations: [Ash.Resource.Calculation.t()],
  distinct: Ash.Sort.t(),
  distinct_sort: Ash.Sort.t(),
  domain: Ash.Domain.t(),
  filter: nil | Ash.Filter.t(),
  limit: :infinity | non_neg_integer(),
  offset: non_neg_integer(),
  relationships: %{
    optional(atom()) => Ash.Resource.Relationships.relationship()
  },
  resource: Ash.Resource.t(),
  sort: nil | Ash.Sort.t(),
  tenant: any()
}