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.0.8 released: 🛠️ Support $set on elements of map of subdocuments 🛠️ Handle schema type definition where unique: false and index not set Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
2
11
mongoosejs retweeted
Mongoose 6.0.6 released 🏎️ Streamline SchemaDefinitionType and SchemaTypeOptions to speed up TS lib checking and VSCode autocomplete 🏎️ Reduce document memory overhead by delaying creating internal properties until they're used github.com/Automattic/mongoo… #NodeJS #MongoDB
1
1
6
Mongoose 6.0.6 includes a major reduction of document memory overhead, up to 30% We have a docs example that shows the memory overhead of documents vs POJOs. We reduced memory usage so much we made that test fail 😅😂 github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
4
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
1
2
Mongoose 6 adds a `valueOf()` function to ObjectIds. That means you can use double equals `==` to compare ObjectIds! Learn more: mongoosejs.com/docs/migratin… #NodeJS #MongoDB #JavaScript
1
4
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
2
Mongoose 6 removed the `Document#execPopulate()` method. This means you can `await doc.populate()` without any chaining! Learn more: mongoosejs.com/docs/migratin… #NodeJS #MongoDB #JavaScript
1
1
4
Mongoose 6 removes the `typePojoToMixed` option, and with it the unfortunate footgun that `type: { name: String }` is equivalent to `type: {}` Learn more: mongoosejs.com/docs/migratin… #NodeJS #MongoDB #JavaScript
1
4
mongoosejs retweeted
Mongoose's `sanitizeFilter` isn't just a query option. We also export `sanitizeFilter()` as a function, so you can use `sanitizeFilter()` to only partially sanitize query filters. API docs: mongoosejs.com/docs/api/mong… #NodeJS #MongoDB #JavaScript
1
2
5
🆕 What's New in Mongoose 6: The `sanitizeFilter` Option: thecodebarbarian.com/whats-n… #NodeJS #MongoDB #JavaScript
3
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
mongoosejs retweeted
Mongoose 6.0.5 released: 🛠️ Allow calling Model.validate() static with POJO array 🛠️ Let $expr through in query filters if strict mode enabled github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
3
6
mongoosejs retweeted
Mongoose 5.13.9 released. Legacy release for v5.x with a few bug fixes: 🛠️ Avoid setting empty array on lean document when populate result is undefined 🛠️ Make depopulate() handle paths under document arrays Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
7