Official Twitter of Mongoose, the most downloaded database framework on npm. Support our work: opencollective.com/mongoose 🙏 #nodejs #mongodb

Miami Beach, FL
mongoosejs retweeted
Mongoose 6.6.7 released: 🛠️ Correct browser build and improve isAsyncFunction check for browser 🛠️ Allow overwriting discriminator key with overwriteDiscriminatorKey if strict: 'throw' github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
7
mongoosejs retweeted
Mongoose v6.6.4 released 🛠️ Avoid saving applied defaults if path is deselected 📖 Correct DocType for auto typed query helpers Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
6
9
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
1
mongoosejs retweeted
Mongoose 6.6.3 released: 🛠️ Treat findOne(_id) as equivalent to findOne({ _id }) 🛠️ findOneAndUpdate creates subdocs with timestamps in reverse order Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
2
8
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
mongoosejs retweeted
Reusing a top-level schema for an embedded subdocument, but running into unique errors? Try the `excludeIndexes` option 😎 #NodeJS #MongoDB #JavaScript
1
2
5
mongoosejs retweeted
Mongoose populate virtuals support numerous handy options, like `match` to add additional filters and `justOne` to switch whether the result is an array or a document. You can use `match` to further restrict output to at most 1 doc and set `justOne` 😎 #NodeJS #MongoDB
1
2
7
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
mongoosejs retweeted
Got a document that you don't want to ever show up in the frontend? You can create a custom `toJSON()` method on your schema, which determines how that document gets serialized to JSON. #NodeJS #MongoDB
1
3
11
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…