Welcome Guest, Not a member yet? Register   Sign In
Database Transactions
#1

[eluser]Wuushu[/eluser]
Hi,

Sorry if this has been asked and answered before.


I've read through the documentation for database transactions.
And now my question; is it possible to start a transaction and then over (several) post steps (different pages/forms) have this transaction still valid, and upon completion of the final step of the form series, test the transaction and complete it should all of the queries be OK? The transactions are unique to the user?


Also, it is not often i use direct $this->db->query/method in my controllers, but rather with $this->model_name->insertSomething($data); Does transaction hook into any db queries ran in external models? Or just inline db-calls?

Thanks for swift replies!

Kind regards,
Christian


Messages In This Thread
Database Transactions - by El Forum - 12-10-2007, 05:32 AM
Database Transactions - by El Forum - 12-10-2007, 06:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB