ash v0.10.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

Link to this section Types

Specs

t() :: %Ash.Query{
  api: term(),
  data_layer_query: term(),
  errors: term(),
  filter: term(),
  limit: term(),
  offset: term(),
  resource: term(),
  side_load: term(),
  sort: term(),
  valid?: term()
}

Link to this section Functions

Link to this function

do_validate_side_load(resource, query, path)

View Source
Link to this function

merge_side_load(left, right)

View Source
Link to this function

side_load(query, statement)

View Source
Link to this function

validate_side_load(resource, side_loads, path \\ [])

View Source