Ash FrameworkAF
Ash Frameworkβ€’3y agoβ€’
118 replies
waseigo

How to Ash-idiomatically get all unique values of an attribute across all records?

App.Api.Item is a resource with an attribute :name.

How can I go from the set of all records of Item (App.Api.Item |> App.Api.read!()) to a list of all unique values of the :name attribute in the most idiomatic way?
Was this page helpful?