Is there a way in Yii2 to get "related" value in mongodb?
i have two collections
companies
&
company info
The _id’s match each other I.E.
companies–>_id == company_info->_id
I have the relations working. I just can’t search a field in companies info from the companies view.
I’ve tried doing it the guides mysql way and i’ve also tried Tutorial 1 and Tutorial 2 however, with no luck.
Has anyone ever accomplished this with Yii2 and Mongo? If so, can you please post how you did it!