DEV Community

Discussion on: MongoDB without Mongoose

Collapse
abhinavpanse profile image
abhinavpanse

How can we make Schemas in plain mongodb without using mongoose.???

Collapse
longwater1234 profile image
Davis Tibbz

Actually it is possible! MongoDB has introduced this since v3.6. Schema Validation. And its actually more powerful in the fact that it is Database Level Strict and not just Application level (like mongoose). See developer.mongodb.com/article/mong...

Collapse
kamalhossain profile image
Kamal Hossain Author

Actually we can't. For that we must need to use mongoose.