method
RelationshipField.ReadHooks
ReadHooks replaces all response-transform hooks.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[operation.ReferenceOutput] | The value value. |
Returns
The declared result.
RelationshipFieldFull signature
Related types
RelationshipFieldRelationshipField configures a link to one document in the target collection.
ReferenceOutputReferenceOutput is the logical read value of a singular relationship. ID is available regardless of whether an authorized document was populated.