ash v0.10.0 Ash.Dsl.Read View Source

Link to this section Summary

Functions

Declares a read action. For calling this action, see the Ash.Api documentation.

Link to this section Functions

Link to this macro

read(name, opts \\ [])

View Source (macro)

Declares a read action. For calling this action, see the Ash.Api documentation.

Examples

read :read_all, primary?: true

Arguments

  • :name - The name of the action

Options

  • :primary? - Whether or not this action should be used when no action is specified by the caller. The default value is false.