View Source Ash.Resource.Calculation.Builtins (ash v2.15.0)
Built in calculations that are automatically imported in the calculations section
Summary
Functions
An example concatenation calculation, that accepts the delimiter as an argument
Functions
@spec concat(keys :: [atom()], separator :: String.t()) :: Ash.Resource.Calculation.ref()
An example concatenation calculation, that accepts the delimiter as an argument
Examples
calculate :full_name, :string, concat([:first_name, :last_name], " ")