Hi,I am a newbie in using mongodb with node and i have a question.As we know mongodb provides non restrictive collections, that means not all records in a collection must have the same structure, you can achieve this using the mongo native node driver.But i see most people uses mongoose, which requires me to make a schema for my collections and that is similar to the relational DBs and it may get some how restrictive.So what should i use generally i don't have a specific use case, which is better and worth learning, And any recommendations on best practices?Thanks,,
Submitted July 23, 2020 at 05:20AM by N05h3ll
No comments:
Post a Comment