View Source Ash.Resource.ManualRead behaviour (ash v3.4.43)
A module to implement manual read actions.
Summary
Types
Callbacks
@callback load_relationships( query :: Ash.Query.t(), results :: [Ash.Resource.record()], opts :: Keyword.t(), context :: context(), lazy? :: boolean() ) :: {:ok, [Ash.Resource.record()]} | {:error, term()}
@callback read( query :: Ash.Query.t(), data_layer_query :: term(), opts :: Keyword.t(), context :: context() ) :: {:ok, [Ash.Resource.record()]} | {:error, term()}