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

Popular posts from this blog

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -