How to create view's in meteor using mongoDb -
i new meteor , requirement create views create document in mongo , share multiple parents . so, how create view share same document 2 or more parents logically not physically.
thanks in advance help
meteor not have view concept on database level.
you define data in mongo collection , make them available client side using publications.
by default, publication return results 1 collection. if want return data based on 'joins' between collection , can use package : reywood:publish-composite when data change in collection, whole publication recomputed , have new version of data.
Comments
Post a Comment