Dexie Global Hackathon 25

The Hackathon is ongoing (Feb 14 – Apr 13, 2025).

17 days left until it ends!

JOIN NOW

Dexie.currentTransaction

Syntax

var trans = Dexie.currentTransaction;

Type

Transaction

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.

Table of Contents

We use cookies

We use our own and third-party cookies to personalize content and to analyze web traffic. Read more about cookies