Official Twitter of Mongoose, the most downloaded database framework on npm. Support our work: https://xitter.cf/t.co/7OuJgnT559 🙏 #nodejs #mongodb

Miami Beach, FL
Joined December 2012
MCP server for your Mongoose schemas 😎👇
Big news: Mongoose Studio v0.6.0 comes with a built-in MCP server. Give agents access to MongoDB with RBAC, OAuth, query timeouts, and script review URLs. Learn more 👉 mongoosestudio.app/changelog…
5
229
Mongoose 9.11.0 released 🌟 Use MongoDB Node.js driver 7.7.x 🌟 Avoid double-calling validators on document arrays underneath nested paths - rewrite of internal _getPathsToValidate() logic for more consistency and slightly better perf github.com/Automattic/mongoo…
3
117
Mongoose 9.10.4 released with a bug fix for syncIndexes with MongoDB server 9.x 🛠️ Handle MongoDB server 9.x returning collation: { locale: 'simple' } on all indexes 🛠️ Resolve dotted parent path when collecting deferred sub-populate children github.com/Automattic/mongoo…
4
140
mongoosejs retweeted
An agent can reason perfectly and still make the wrong call if its data is stale. As AI moves from generating answers to taking action, the data layer needs to keep up. Today, we’re announcing the largest expansion of our platform yet: ✨ MongoDB 9.0: the fastest, most performant version of MongoDB we’ve ever built, designed for applications and agents that act on live data. ✨ Atlas Infinite: a new deployment option built for highly elastic workloads, allowing storage and compute to scale independently as demand changes. ✨ Atlas Agent Engine: provides the memory, runtime, and governance needed to operate agents in production, on the same data foundation customers already trust and open to any model, framework, or cloud. Learn more: mongodb.social/6017BGq7l9
10
16
2
86
19,540
LLMs love adding defaults to all Mongoose fields. This is an anti-pattern! Null fields are still stored in MongoDB, transferred over the wire from MongoDB, and end up in JSON. Wastes space and bandwidth. Defaults should be used for meaningful values not placeholders
3
1
9
551
Don't even get us started on `default: ''` 💢
22
Mongoose 9.10.0 released 🌟 Use MongoDB Node driver 7.6 🌟 Add Model.findAndCount() 🌟 Add Schema.prototype.queryHelper() to make it easier to define query helpers in TypeScript 📒 Support for type narrowing when using projection in find and findOne github.com/Automattic/mongoo…
2
190
Mongoose 9.9.5 released 🛠️ Pass schema through when casting a nested $expr comparison 🛠️ Build the dotted path correctly in isPathSelectedInclusive 🛠️ Replace {MODEL} in custom cast error messages from document validation github.com/Automattic/mongoo…
2
178
New docs on Atlas text search and vector search now live on mongoosejs.com! mongoosejs.com/docs/atlas-ve… mongoosejs.com/docs/atlas-se…
2
218
I put together a Mongoose benchmarks website, showcasing some of the performance improvements we've made in @mongoosejs over recent years. Check it out! benchmarks.mongoosejs.io/
1
1
5
202