Join & get value in mongo using meteor


#1

hey guys . i newer with meteor

i have two collection & it have user recods

USERS

  • _id
  • user_name
  • password

PROFILE

  • _id
  • user_id (user_collecction is)
  • fname
  • lname

i need to get this detail in to my template

<template name ="user">
 {{profile_detail.username}}  {{profile_detail.fname}} {{profile_detail.lname}}
</template>

have method to join these collection


#2

http://grapher.cultofcoders.com give it a read, it solves joins easily.