Dexie Logo
Documentation

Dexie.currentTransaction

Syntax

var trans = Dexie.currentTransaction;

Type

Description

If accessed from within a transaction scope, this property will contain the current Transaction instance. If not within a transaction scope scope, this property will be null.
The property is a Promise-local data variable and requires you to be in a Dexie.Promise flow. If you're using other Promise implementations, Dexie.currentTransaction will always be null.

© 2014-2025 Awarica AB

Made with love for great people.

Read Terms & Conditions and Privacy Policy.