Transaction on two db |
hi , to do transaction i use this code
[/CODE] $db = \Config\Database::connect(); $db->transStart(); //CODE $db->transComplete(); if($db->transStatus()!==false) { //CODE show message ok }else{ //CODE show message error } [/CODE] I must copy value from one table's db (on same server ) to another db table from another db
Not positive but maybe nested transactions.
CodeIgniter 4 User Guide - Transactions - Nested Transactions What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |