Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

DB Transactions #21

Closed
scottsmith8 opened this issue May 8, 2020 · 1 comment
Closed

DB Transactions #21

scottsmith8 opened this issue May 8, 2020 · 1 comment

Comments

@scottsmith8
Copy link

Hi guys,
I've been enjoying using this however I was wondering if there is support for database transactions as described https://sailsjs.com/documentation/reference/waterline-orm/datastores/transaction.

Thanks!
Sam

@davepreston
Copy link

Short answer yes :).
I've only used transactions via sails for very basic scenarios. Meaning if you have extravagant needs I may need your help enhancing the current capabilities.
That said, in my testing I am able to begin transactions and if an error is thrown it will roll back.

Please let me know if you find specific issues and we can reopen this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants