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

Miami Beach, FL
We make heavy use of Mongoose virtuals to minimize frontend logic Write one Mongoose virtual, means all clients can reuse the same logic, even if iOS or Kotlin #NodeJS
2
2
4
383
Mongoose 8.2.2 released 🛠️ Improve update minimizing to only minimize top-level properties in the update 🛠️ Add Null check in case schema.options['type'][0] is undefined github.com/Automattic/mongoo… #NodeJS #JavaScript #MongoDB
1
1
5
282
Mongoose 7.6.10 released 📚 Add extra note about lean option for insertMany() skipping casting 📚 Add options.overwriteModel details to mongoose.model() docs github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
170
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
72
Mongoose 6.12.7 released: 🏎️ Make insertMany() lean option skip hydrating Mongoose docs 🏎️ Small optimizations to make init() faster github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
176
Mongoose 7.6.9 released: 🛠️ Handle embedded recursive discriminators on nested path defined using Schema.prototype.discriminator 🛠️ Correct return type for findByIdAndDelete() Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
3
278
Mongoose 8.2.0 released ⭐ Add recompileSchema() function to models to allow applying schema changes after compiling ⭐ Add middleware for bulkWrite() and createCollection() github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
6
253
mongoosejs retweeted
Mongoose 8.1.3 released 🛠️ Avoid corrupting $set-ed arrays when transaction error occurs 🛠️ Handle ref() functions that return a model instance Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
2
5
358
Mongoose 6 was released August 24! Check out the migration guide: mongoosejs.com/docs/migratin…
70
Mongoose 8.1.1 released: 🛠️ Throw readable error when calling Model() with a string instead of model() 🛠️ Add back context and setDefaultsOnInsert as Mongoose-specific query options Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
3
194
Mongoose 6.12.6 (legacy) released: 🛠️ Correctly handle buffer timeouts with find() 🛠️ Allow calling push() with different $position arguments Full changelog: github.com/Automattic/mongoo… #NodeJS #MongoDB #JavaScript
1
1
229
mongoosejs retweeted
Virtuals are a great tool for convenience wrappers around complex properties Here's a virtual for sales tax in an ecom application. The sales tax is stored in `lineItems` array, but the `salesTax` virtual lets you read/write as if it were a property #JavaScript #CodeNewbie
1
2
6
584