-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: feature requestIssue suggesting a new featureIssue suggesting a new featuresource: core:databaseSource is core/database packageSource is core/database package
Description
Feature request
Please describe your feature request
- I have created my request on the Product Board before I submitted this issue
- I have looked at all the other requests on the Product Board before I submitted this issue
Summary
Please support database transactions in v4. v3 actually supports database transactions since it is used with Bookshelf.js. v4 uses a custom database engine and I can't see how I can insert knex.js transactions in custom code.
Why is it needed?
Please read my draft article on how to use database transactions in v3, it also tells the real reason why database transactions is a must:
Suggested solution(s)
We can add a parameter transaction in the query engine.
| const createQueryBuilder = (uid, db) => { |
Related issue(s)/PR(s)
If there's nobody has time to implement this, will you (the Strapi team) accept PRs to this feature? This feature is so critical to me.
sebastian-ludwig, tuxuuman, benderillo, TheBit, BorysShulyak and 2 morericafolio, tuxuuman, TheBit, BorysShulyak, sfounder and 1 more
Metadata
Metadata
Assignees
Labels
issue: feature requestIssue suggesting a new featureIssue suggesting a new featuresource: core:databaseSource is core/database packageSource is core/database package