import { type RemoveEvent } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";
RemoveEvent is an object that broadcaster sends to the entity subscriber when entity is being removed to the database.
Properties
QueryRunner used in the event transaction. All database operations in the subscribed event listener should be performed using this query runner instance.
EntityManager used in the event transaction. All database operations in the subscribed event listener should be performed using this entity manager instance.
optional
entity: EntityEntity that is being removed. This may absent if entity is removed without being loaded (for examples by cascades).