![]() |
Please READ:
CodeIgniter 4 Users Guide -> Working with Databases Transactions What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(07-29-2023, 10:29 PM)InsiteFX Wrote: Please READ: In the examples use the DB_Connect function within the transactions. My question is if I put Query Builder inside the transactions work?
Transaction code is here:
system/Database/BaseConnection.php It's in the BaseConnection so I would think that it should work with QueryBuilder. But all examples that I have seen only use the db->query(). Here is a CodeIgniter 4 Example on using the db->query() methods. CodeIgniter 4 Transaction Example What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(07-30-2023, 10:56 PM)InsiteFX Wrote: It's in the BaseConnection so I would think that it should work with QueryBuilder. I'm need use transaction for payment mechanism, if u say Query Builder should work, then i can write somethink like this?: PHP Code: ... |
Welcome Guest, Not a member yet? Register Sign In |