Interface TypeRelationshipCaching
interface TypeRelationshipCaching { getRelationshipBidirectional<T extends TypeEdge>( from: Type, to: Type, $relation: T["$relation"], ): undefined | T; getRelationshipUnidirectional<T extends TypeEdge>( from: Type, to: Type, $relation: T["$relation"], ): undefined | T; setOrUpdateBidirectionalRelationship<T extends TypeEdge>( edgeToCache: T, edgeCaching: EdgeCachingInformation, ): undefined | T; setOrUpdateUnidirectionalRelationship<T extends TypeEdge>( edgeToCache: T, edgeCaching: EdgeCachingInformation, ): undefined | T;} Methods
getRelationshipBidirectional
getRelationshipBidirectional<T extends TypeEdge>( from: Type, to: Type, $relation: T["$relation"],): undefined | T
getRelationshipUnidirectional
getRelationshipUnidirectional<T extends TypeEdge>( from: Type, to: Type, $relation: T["$relation"],): undefined | T
setOrUpdateBidirectionalRelationship
setOrUpdateUnidirectionalRelationship
Caches relationships between types.