View Source Ash.Query.Function behaviour (ash v2.11.8)
A function is a predicate with an arguments list.
For more information on being a predicate, see Ash.Filter.Predicate
. Most of the complexities
are there. A function must meet both behaviours.
Link to this section Summary
Callbacks
The number and types of arguments supported.
Functions
Attaches the appropriate suffix to refer to an ordinal number, e.g 1 -> "1st"
Link to this section Types
@type arg() :: any()
Link to this section Callbacks
Link to this section Functions
Attaches the appropriate suffix to refer to an ordinal number, e.g 1 -> "1st"