Welcome Guest, Not a member yet? Register   Sign In
What is wrong with database groups
#1

[eluser]kamilko[/eluser]
I must say, that database groups sux. They don't work at all. What they for if in the $CI->whatever always trying to go to default $this->db.
I'm trying to get two models and each of them should be connected to special database group.
First - if I'm trying send $config array as third parameter in $this->load->model() - this method just ignore this!
Second - in every model I try in constructor to something like: $this->load->database('group1'); - and second loaded model - has $this->db from first!
Third - if I'm trying in model constructor do something like this: $this->db1 = $this->load->database('group1', TRUE); nothing happend!!!

I think config groups for database are for rewriting from scratch - now this is unusable.




Theme © iAndrew 2016 - Forum software by © MyBB