Skip to main content
Module

x/typeorm/src/index.ts>UpdateEvent

Forked from https://github.com/typeorm/typeorm
Latest
interface UpdateEvent
import { type UpdateEvent } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

UpdateEvent is an object that broadcaster sends to the entity subscriber when entity is being updated in the database.

Properties

connection: Connection

Connection used in the event.

queryRunner: QueryRunner

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

manager: EntityManager

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

entity: Entity

Updating entity.

metadata: EntityMetadata

Metadata of the entity.

databaseEntity: Entity

Updating entity in the database.

updatedColumns: ColumnMetadata[]

List of updated columns. In query builder has no affected

updatedRelations: RelationMetadata[]

List of updated relations. In query builder has no affected