Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InsertEvent<Entity>

InsertEvent is an object that broadcaster sends to the entity subscriber when entity is inserted to the database.

Type parameters

  • Entity

Hierarchy

  • InsertEvent

Index

Properties

connection

connection: Connection

Connection used in the event.

entity

entity: Entity

Inserting event.

manager

manager: EntityManager

EntityManager used in the event transaction. All database operations in the subscribed event listener should be performed using this entity manager instance.

metadata

metadata: EntityMetadata

Metadata of the entity.

queryRunner

queryRunner: QueryRunner

QueryRunner used in the event transaction. All database operations in the subscribed event listener should be performed using this query runner instance.

Generated using TypeDoc