Ash.Resource.Preparation.Builtins.build

You're seeing just the function build, go back to Ash.Resource.Preparation.Builtins module for more information.

Specs

build(Keyword.t()) :: {atom(), Keyword.t()}

Passes the given keyword list to Ash.Query.build/2 with the query being prepared.

This allows declaring simple query modifications in-line. For more complicated query modifications, use a custom preparation.

For example:

read :top_ten_songs do
  prepare build(sort: [song_rank: :desc], limit: 10)
end