Ash.Api.read_one
You're seeing just the callback
read_one
, go back to Ash.Api module for more information.
Specs
read_one(Ash.Query.t() | Ash.Resource.t(), params :: Keyword.t()) :: {:ok, Ash.Resource.record()} | {:ok, Ash.Resource.record(), Ash.Query.t()} | {:error, term()}
Run a query on a resource, but fail on more than one result
This is useful if you have a query that doesn't include a primary key but you know that it will only ever return a single result