Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] support transactions for ORM #59

Closed
nrempel opened this issue Oct 5, 2016 · 3 comments
Closed

[feature request] support transactions for ORM #59

nrempel opened this issue Oct 5, 2016 · 3 comments
Assignees

Comments

@nrempel
Copy link

nrempel commented Oct 5, 2016

There might be an argument against this, but it would be nice to be able to do something like:


const user = new User(); // Lucid model
user.first_name = 'Johnny'
user.last_name = 'Bravo'
user
  .transacting(trx) // a valid transaction reference
  .save()

@thetutlage
Copy link
Member

#43

@thetutlage
Copy link
Member

Closing since already implemented

@nrempel
Copy link
Author

nrempel commented Oct 11, 2016

Thank you!

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

No branches or pull requests

2 participants