Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Orm
ORM Transactions
muhlegg
September 2013
Is it possible to use transaction with ORM. I need to do a "select ... for update" transaction but can't really find a way to do this with ORM.
Harro
September 2013
Accepted Answer
ORM doesn't have any built-in transaction methods, other then on save(), to put related updates into a transaction.
You can wrap your ORM calls into a transaction manually using
http://bin.fuelphp.com/snippet/view/oA
muhlegg
September 2013
Great! Thanks a lot
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
September 2013
muhlegg
September 2013