{"push_id":1618170632,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"38b4f506f192884f0133caa4c82f9972d05215de","before":"fe09d095fa106f71b0c7bf9021efcf9ded7e61c1","commits":[{"sha":"e771df4963895e71dc91633616ca78fd6f7b119b","author":{"name":"PICCORO Lenz McKAY","email":"9493643f90a2452e330c2c94f66c0cbb79af769b@gmail.com"},"message":"iterate in any DB object/array and get multidb query\n\niterate inthe instance object CI and get any DB_CI object to show querys made on multiple loaded databases...\r\n\r\ntake in consideration the nex code:\r\n\r\n1) in application/config\r\n```\r\n$config['sysdb'] =  array(\r\n 'hostname'=>'localhost','username'=>'dbuser','password'=>'dbuserclave',\r\n 'database'=>'', /* this will be changed \"on the fly\" in controler */\r\n 'dbdriver'=>'mysqli','dbprefix'=>'',\r\n 'pconnect'=>FALSE,'db_debug'=>TRUE,'cache_on'=>FALSE\r\n );\r\n```\r\n2) and next in controller:\r\n```\r\n  $configdbfly = $this->config->config['sysdb'];\r\n  $configdbfly['database']='sysdbadminis'; /*cambiamos de db*/\r\n  $this->load->database($configdbfly);\r\n```\r\n\r\nthis change the DB on the fly..\r\n\r\nBut the patch include also show in wicht controller, due there's a filters plugin for codeigniter.. filter can take url controller invocation, pass to anther,, make querys, and return to original controller, so this patch can able to show that behaviour","distinct":true,"url":"https://api.github.com/repos/lonnieezell/codeigniter-forensics/commits/e771df4963895e71dc91633616ca78fd6f7b119b"},{"sha":"38b4f506f192884f0133caa4c82f9972d05215de","author":{"name":"Lonnie Ezell","email":"401beee3cf8fa047f910b116471121cbb3814d14@gmail.com"},"message":"Merge pull request #29 from mckaygerhard/patch-1\n\niterate in any DB object/array and get multidb query","distinct":true,"url":"https://api.github.com/repos/lonnieezell/codeigniter-forensics/commits/38b4f506f192884f0133caa4c82f9972d05215de"}]}
{"actor":{"display_login":"lonnieezell"}}