Comments (5)
Googling about how to use savepoints led me to this undocumented feature. From here: https://stackoverflow.com/questions/38069797/easy-way-to-handle-nested-transactions
from website.
Well I am having a different type of issue I am reverting some of my data in one transaction and using the same data to add new in my second transaction, in my scenario I cannot commit after my first transaction because what if my second transaction fails it will have to be reverted Any help
from website.
PR is welcome, there's some minor docs in the TS section of sequelize.
from website.
Longer form docs would certainly be great, but the JSDoc for sequelize.transaction
should also be updated to include the transaction
option: https://github.com/sequelize/sequelize/blob/e1446837196c07b8ff0c23359b958d68af40fd6d/src/sequelize.js#L1076-L1085
Also needed in transaction.js
: https://github.com/sequelize/sequelize/blob/e1446837196c07b8ff0c23359b958d68af40fd6d/src/transaction.js#L13-L19
from website.
This issue has been automatically marked as stale because it has been open for 14 days without activity. It will be closed if no further activity occurs within the next 14 days. If this is still an issue, just leave a comment or remove the "stale" label. 🙂
from website.
Related Issues (20)
- Create a redirect for HOT 3
- Handling timestamp fields in Typescript
- Transaction readOnly option is not documented. HOT 1
- M:N Associations - Comment in sample is wrong HOT 1
- footgun/regression: Creating a new model with a JSONB column set to null inserts a JSONB `null` value rather than leaving the column as `null` HOT 4
- Foreign key by default is null
- SubQuery parameter is not documented or is not easy to find HOT 1
- Information about dynamic configuration files and .sequelizerc are badly located on website.
- Broken example code on Raw SQL page HOT 4
- Optimistic locking example is missing from the model configuration docs [v6]
- documentation of codes should include their respective file names
- Sequelize doesn't treat date string as UTC HOT 3
- addProfile is not function on many to many relationship HOT 1
- Documentation for nuxt 3
- Slack link on web site is expired HOT 1
- Optional doesn't exist in Sequelize 7, but mentioned in documentation HOT 3
- Add redshift instructions to your getting started guide HOT 1
- V7-alpha connectionManager.initPools missing HOT 1
- unable to access sequelize.org with ipv4 HOT 1
- this.lib.Client is not a constructor when using pg-native HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from website.