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


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

Passes the given keyword list to 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)