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...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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...