ash_graphql v0.7.3 AshGraphql.Resource.Queries.Get View Source

Link to this section Summary

Functions

A query to fetch a record by primary key

Link to this section Functions

Link to this macro

get(name, action, opts \\ [])

View Source (macro)

A query to fetch a record by primary key

Examples

get :get_post, :default

Arguments

  • :name - The name to use for the query.

  • :action - The action to use for the query.

Options

  • :identity - false The identity to use for looking up the user