Request to enable wixData.transaction() in my Wix Studio site

Hi,

I have a Wix Studio site with a Premium plan, and I need to use the wixData.transaction() API to handle atomic database operations in my backend. Currently, when I try to use it, I get the following error:

TypeError: _wixData.default.transaction is not a function

I already confirmed that my environment does not have this API enabled (I tested it in the backend). Could you please enable the Database Transactions API for my site? It’s essential to prevent data inconsistencies when updating multiple collections in a single process.

Thank you in advance,

Hi Emmanuel,

Which type of data transactions are you attempting to do using Wix Data?

I’d recommend checking out the following Code Example to see how CRUD operations are done using the Wix Data API