API Reference > imodeljs-backend > iModels > IModelTransformer > detectRelationshipDeletes detectRelationshipDeletes Method Detect Relationship deletes using ExternalSourceAspects in the target iModel and a brute force comparison against relationships in the source iModel. detectRelationshipDeletes(): Promise<void> see IModelTransformer.processChanges note This method is called from IModelTransformer.processAll and is not needed by IModelTransformer.processChanges, so it only needs to be called directly when processing a subset of an iModel. throws IModelError If the required provenance information is not available to detect deletes. Returns - Promise<void> Defined in core/backend/src/IModelTransformer.ts Line 664 Last Updated: 11 June, 2024