Mongoose’s validator is derived from the validation feature of MongoDB 3.2+
Please refer to the official documentation:
https://docs.mongodb.com/mast...
MongoDB provides functions similar to the Constraint of relational databases through validation.
Here are some contexts for your reference, and you can choose according to the actual situation.
In general, MongoDB has gradually introduced many new features, which on the one hand improve its functions and on the other hand give developers more help.
For example, in the new version 3.4 obtained this month, MongoDB provides graph processing, which provides functions similar to Neo4J; MongoDB provides faceted navigation for navigation queries, which better supports dimensional queries; and also improves decimal Data model makes it more convenient to save price and other amount data.
MongoDB has many new features that deserve developers’ attention. You can refer to the following new version’s feature update documents:
New features in 3.4 https://docs.mongodb.com/mast...
New features in 3.2 https://docs.mongodb.com/mast...
Mongoose’s validator is derived from the validation feature of MongoDB 3.2+
Please refer to the official documentation:
https://docs.mongodb.com/mast...
MongoDB provides functions similar to the Constraint of relational databases through validation.
Here are some contexts for your reference, and you can choose according to the actual situation.
In general, MongoDB has gradually introduced many new features, which on the one hand improve its functions and on the other hand give developers more help.
For example, in the new version 3.4 obtained this month, MongoDB provides graph processing, which provides functions similar to Neo4J; MongoDB provides faceted navigation for navigation queries, which better supports dimensional queries; and also improves decimal Data model makes it more convenient to save price and other amount data.
MongoDB has many new features that deserve developers’ attention. You can refer to the following new version’s feature update documents:
New features in 3.4
https://docs.mongodb.com/mast...
New features in 3.2
https://docs.mongodb.com/mast...
Love MongoDB! Have Fun!