Welcome Guest, Not a member yet? Register   Sign In
Use the same model with two different connections
#3

[eluser]rafabayona[/eluser]
Thanks for answering.

I'm using $this->db->close() before loading the model but it doesn't seem useful because of this: http://ellislab.com/forums/viewthread/186952/#883735

In that thread, a user suggests "overwriting" $this->db with the new connection, but I don't know if it's advisable.


Messages In This Thread
Use the same model with two different connections - by El Forum - 09-13-2012, 09:29 AM
Use the same model with two different connections - by El Forum - 09-14-2012, 04:40 AM
Use the same model with two different connections - by El Forum - 09-18-2012, 03:23 AM
Use the same model with two different connections - by El Forum - 09-18-2012, 04:19 AM
Use the same model with two different connections - by El Forum - 09-18-2012, 08:37 AM
Use the same model with two different connections - by El Forum - 09-19-2012, 02:26 AM
Use the same model with two different connections - by El Forum - 09-19-2012, 04:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB