method
RelationshipField.Hooks
Hooks replaces the complete field lifecycle hook group.
Arguments
| Argument | Type | Description |
|---|---|---|
value | Hooks[operation.ID] | The value value. |
Returns
The declared result.
RelationshipFieldFull signature
func (f RelationshipField) Hooks(value Hooks[operation.ID]) RelationshipFieldRelated types
RelationshipFieldRelationshipField configures a link to one document in the target collection.
IDID is the logical write value of a singular relationship. It is distinct from the potentially populated logical read value.