method
LocalAPI.MutateJoin
MutateJoin preserves the exact authenticated collection identity while applying inverse relationship deltas.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
collection | string | The collection value. |
id | string | The id value. |
field | string | The field value. |
additions | []string | The additions value. |
removals | []string | The removals value. |
options | MutationOptions | The options value. |
Returns
The declared result.
(JoinMutationResult, error)Full signature
func (local *LocalAPI) MutateJoin(
ctx context.Context,
collection,
id,
field string,
additions,
removals []string,
options MutationOptions,
) (JoinMutationResult, error)Related types
LocalAPIIn-process content operations that share the REST authorization and lifecycle pipeline.
MutationOptionsAuthorization, optimistic concurrency, response population, create status, and locale controls for one write.
JoinMutationResultResult of one atomic inverse-relationship mutation.