Sunday 12 March 2017

How to build model/schema of a collection of mongodb dynamically in nodeJS?

I need to build the schema/model of a mongodb collection dynamically. for this purpose I used the mongodb-schema but problem with this module is that it gets the complete collection first then build the schema of it that is not suitable for a big collection. So for this purpose which module is suitable that generate the schema dynamically and how?



via Ahmed Raza

No comments:

Post a Comment