The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Use virtual properties with Mongoose and MongoDB

Use virtual properties with Mongoose and MongoDB

8:59
Virtual properties are a great way to add some semantics to your data layer and abstract any shortcomings of the underlying schema. This lesson demonstrates virtual getters and setters in Mongoose, and how to integrate their use in your Express server.
Watch this lesson now
Avatar
egghead.io

Virtual properties are a great way to add some semantics to your data layer and abstract any shortcomings of the underlying schema. This lesson demonstrates virtual getters and setters in Mongoose, and how to integrate their use in your Express server.

Avatar
Vlad

Could be worth doing a vide on how to replace final remaining calls that still use file system, e.g.:
'*.json'
'/data/:username'
'/users/by/:gender'

Avatar
Patrick

Just to be clear: in my app, the delete function does not work...is this correct? I'm not sure these videos actually showed a delete in action, but yet I see it in the code...I can update fine, but not delete. Want to make sure I am not doing something wrong...thanks,

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?