Difference between #4 and #5 of
Multi Data Provider

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.
1 0
4 followers
Viewed: 18 840 times
Version: 1.1
Category: Tips
Written by: Sharon Lavie
Last updated by: Sharon Lavie
Created on: Oct 4, 2013
Last updated: 8 years ago
Update Article

Revisions

View all history