perak / meteor-joins

Collection joins for Meteor
77 stars 7 forks source link

Issue related to foreign key #17

Open Prateek275 opened 6 years ago

Prateek275 commented 6 years ago

Is It necessary to use only id as foreign key in join or can I use other fields apart from id as foreign key to join collections for ex: Friends.join(Status,"FriendsEmail","status",["MessageText"]) If I want to use email as foreign key it is returning undefined in containerfield i.e status

Prateek275 commented 6 years ago

Hi Petar, what you think about the issue I am facing? Is it right that foreign key can only be id?