Skip to content

Function: isRelationCacheTarget()

ts
function isRelationCacheTarget(name: string): boolean;

Reports whether a model identity name is a registered relation-cache TARGET, i.e. some model caches a 1:1 relation pointing at this model.

Parameters

ParameterTypeDescription
namestringThe model's canonical identity name.

Returns

boolean

true when the name is a registered cache target.