Ash.Changeset.remove_from_relationship
You're seeing just the function
remove_from_relationship
, go back to Ash.Changeset module for more information.
Link to this function
remove_from_relationship(changeset, relationship, record_or_records, opts \\ [])
View SourceSpecs
remove_from_relationship( t(), atom(), Ash.Resource.record() | map() | term() | [Ash.Resource.record() | map() | term()], Keyword.t() ) :: t()
Removes a record or a list of records to a relationship.
Alias for:
manage_relationship(changeset, relationship, record_or_records,
on_no_match: :error, # If a record is not found in the relationship, we error
on_match: :unrelate, # If a record is found in the relationship we unrelate it
on_missing: :ignore, # If a record is not found in the relationship
authorize?: false
)