Skip to content

Function: registerRelationCacheTarget() ​

ts
function registerRelationCacheTarget(name: string): void;

Registers a related-model identity name as a relation-cache TARGET. Idempotent.

Parameters ​

ParameterTypeDescription
namestringThe related model's canonical identity name ($resourcefulName or class name).

Returns ​

void