Function: registerRelationCacheTarget()
ts
function registerRelationCacheTarget(name: string): void;Registers a related-model identity name as a relation-cache TARGET. Idempotent.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The related model's canonical identity name ($resourcefulName or class name). |
Returns
void