DatabaseStore.transaction()
Home > @backstage/plugin-search-backend-module-pg
> DatabaseStore
> transaction
Signature:
transaction<T>(fn: (tx: Knex.Transaction) => Promise<T>): Promise<T>;
Parameters
Parameter |
Type |
Description |
---|---|---|
fn |
(tx: Knex.Transaction) => Promise<T> |
Promise<T>