Setu-TS
    Preparing search index...

    Interface IAdapterTransaction

    A transaction handle that can also open entity data sources bound to itself.

    The scoped factory is what makes a Unit of Work atomic: every repository opened from one handle targets the same underlying transaction, so a single commit or rollback covers all of them.

    0.2.0

    interface IAdapterTransaction {
        commit(): Promise<void>;
        createDataSource(entity: string): IDataSource;
        rollback(): Promise<void>;
    }

    Hierarchy (View Summary)

    Index