Ash.Query.for_read
You're seeing just the function
for_read
, go back to Ash.Query module for more information.
Creates a query for a given read action and prepares it.
Multitenancy is not validated until an action is called. This allows you to avoid specifying a tenant until just before calling the api action.
Arguments
Provide a map or keyword list of arguments for the read action
Opts
:actor
- set the actor, which can be used in anyAsh.Resource.Change
s configured on the action. (in thecontext
argument):tenant
- set the tenant on the query