-
Notifications
You must be signed in to change notification settings - Fork 0
Mongoose
Kyle Coberly edited this page Aug 6, 2017
·
1 revision
- Can also connect based on events (use for event handlers)
- Can declare schemas
- model is an instance of schema
.find({}, callback);.save({});- Mongoose can use
.where().equals().limit().select() - Use
findand thensave, notupdate-updatebypasses schema. - Graceful shutdowns by listening for events (
SIGINT,SIGTERM)