Ash.DataLayer.distinct

You're seeing just the callback distinct, go back to Ash.DataLayer module for more information.
Link to this callback

distinct(data_layer_query, list, resource)

View Source (optional)

Specs

distinct(data_layer_query(), [atom()], resource :: Ash.Resource.t()) ::
  {:ok, data_layer_query()} | {:error, term()}