Tied to Mongoose: virtuals, nested schemas, discriminators
You'll get acquainted with the way Mongoose.js works with life cycles of alike yet diverse data structures.
Mongoose basics:
- Basic principles and work approaches;
- Beginners' typical mistakes.
Why and how:
- Virtual fields and methods;
- Nested schemas;
- Discriminators.