Using transactions with Strapi v4 - with tests

Before you jump into this content, you need to have a basic understanding of the following:

Within our company UFirst Group, we have been using Strapi in two different projects. In one as a CMS and in the other we are using Strapi as a backend for a Next.JS application.

This is a companion discussion topic for the original entry at
1 Like

console.log(“Strapi”, strapi.db.connections);
I gives me undefined

hi, thanx a lot that was helpful but what if i have relations should i do the transaction for every table in relation or how ?