Revision #5 has been created by Sharon Lavie on Dec 18, 2015, 11:24:25 AM with the memo:
-
« previous (#4)
Changes
Title
unchanged
Multi Data Provider
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
database, CDataProvider, CGridView
Content
unchanged
[...]
**Note:** if your databases (db1, db2) id aren't unique, meaning that table's uid can reapet it self on both databases, you should add a db id to the MultiDataProvider class.
**BTW:** db3, that i have mentioned above, will be the main db of my project, so the model is linked to that db connection, and in my config main, it is defined as 'db'.
i'll be glad to get your corrections and notices.