ash v0.13.0 Ash.Query View Source
Utilties around constructing/manipulating ash queries.
Ash queries are used for read actions and side loads, and ultimately map to queries to a resource's data layer.
Link to this section Summary
Functions
Adds an aggregation to the query. Aggregations are made available on the meta
field of a record
Limit the results returned from the query
Create a new query.
Skip the first n records
Set the query's api, and any side loaded query's api
Side loads related entities
Link to this section Types
Link to this section Functions
Adds an aggregation to the query. Aggregations are made available on the meta
field of a record
Specs
build(Ash.resource(), Ash.api() | nil, Keyword.t()) :: t()
Limit the results returned from the query
Create a new query.
Skip the first n records
Set the query's api, and any side loaded query's api
Side loads related entities