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