@mikro-orm/coreFunctionsVersion: 6.4BeforeDelete CallableBeforeDelete(): (target: any, method: string) => voidCalled before deleting entity, but only when providing initialized entity to EM#remove()Returns (target: any, method: string) => void(target: any, method: string): voidParameterstarget: anymethod: stringReturns void
Called before deleting entity, but only when providing initialized entity to EM#remove()