DEV Community

Discussion on: MongoDB without Mongoose

abhinavpanse profile image

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

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

kamalhossain profile image
Kamal Hossain Author

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