ash_graphql v0.5.0 AshGraphql.Resource.Mutations.Destroy View Source

Link to this section Summary

Functions

A mutation to destroy a record

Link to this section Functions

Link to this macro

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

View Source (macro)

A mutation to destroy a record

Examples

destroy :destroy_post, :default

Arguments

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

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