is it possible (how) to use mysql transactions and rollbacks using kohana ORM ?
+2
A:
Check out the official forums. It shows an example on how to use transactions with Ko3:
$db->query(NULL, 'TRANSACTION START');
// Do stuff
$db->query(NULL, 'COMMIT');
How to do it with version 2, I don't know. I'm still new to kohana myself, and learning Ko3 rather than 2. But I'm guessing it's quite similar.
Caspar
2009-10-10 13:28:20
merely, i have to use it with 2.4
gpilotino
2009-10-13 19:10:32
I can confirm that this also works with 2.3.4
Cocowalla
2010-03-26 17:51:45