• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Table names in models

#1
[eluser]roguewave[/eluser]
I have an existing mysql where tables are in several different databases. Of course outside of CI I would reference them using the form "database.table". How can I create a new model and point it to a table using this form?

#2
[eluser]Phil Sturgeon[/eluser]
For multpiple connections take a look at this page in the manual.

Connecting to your Database


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.