June 2014
Intermediate to advanced
696 pages
38h 52m
English
When you use Mongoose, you often need to implement schemas. A schema defines the fields and field types for documents in a collection. This can be very useful if your data is structured to support a schema because you can validate and typecast objects to match the requirements of the schema.
For each field in a schema, you need to define a specific value type. These value types are supported:
String
Number
Boolean or Bool
Array ...
Read now
Unlock full access