transaction

open external val transaction: IDBTransaction?(source)

The transaction read-only property of the IDBRequest interface returns the transaction for the request, that is, the transaction the request is being made inside.

MDN Reference