method
RelationshipsField.Hooks
Hooks replaces the complete field lifecycle hook group.
Arguments
| Argument | Type | Description |
|---|---|---|
value | Hooks[[]operation.ID] | The value value. |
Returns
The declared result.
RelationshipsFieldFull signature
func (f RelationshipsField) Hooks(value Hooks[[]operation.ID]) RelationshipsFieldRelated types
RelationshipsFieldRelationshipsField configures links to several documents in the target collection.
IDID is the logical write value of a singular relationship. It is distinct from the potentially populated logical read value.