Y
Hacker News
new
|
ask
|
show
|
jobs
by
jd_mongodb
2189 days ago
You can apply a Schema to your collection and have MongoDB enforce it . This has been in MongoDB since version 3.6. We support the JSON schema standard.
https://docs.mongodb.com/manual/core/schema-validation/
1 comments
kentonv
2189 days ago
Cool! My time using Mongo was pre-3.6 so I didn't know about this.
link