API 参考
    正在准备搜索索引...

    接口 TransactionRollbackEvent

    TransactionRollbackEvent is an object that broadcaster sends to the entity subscriber on transaction rollback.

    interface TransactionRollbackEvent {
        connection: DataSource;
        manager: EntityManager;
        queryRunner: QueryRunner;
    }
    索引

    属性

    connection: DataSource

    Connection used in the event.

    manager: EntityManager

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

    queryRunner: QueryRunner

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