You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to yiimong...@googlegroups.com
I have 2 Models in in application advertisement and user. None of them is EMongoEmbeddedDocument.They look like this. class advertisement extends EMongoDocument { $adv_date $adv_user /*This is another EMongoDocument */ public function embeddedDocuments() { return array('adv_user' => 'user',);} } class User extends EMongoDocument { $username }
Following are the problems I am facing. 1. If I have user objectid after creating user. How can I link this user to any advertisment. Didnt work
2. How to access primary object id of user from advertisement table in criteria $Criteria=new EMongoCriteria(); $Criteria->adv_user->_id='508bdbb045d9453c25000005';