
mongoosejs
@mongoosejs
Official Twitter of Mongoose, the most downloaded database framework on npm. Support our work: http://opencollective.com/mongoose 🙏 #nodejs #mongodb
你可能会喜欢
Mongoose 5.0.0 formally released! Couple small fixes for @MongoDB 3.6 support (github.com/Automattic/mon…) and a brand new docs layout: mongoosejs.com/docs/guide.html! #nodejs #mongodb
Mongoose 8.19.2 is 50% faster at setting defaults on updates. Go upgrade and enjoy the speed boost 🚀

Neat little "provenance" checkbox on npm:

Mongoose 8.19.2 released 🏎️ Avoid computing all modified paths when running setDefaultsOnInsert and update validators 🛠️ Correct handling of relative vs absolute paths with maps and subdocuments Also our first automated publish with provenance 😎 github.com/Automattic/mon…
Mongoose 8.19.2 released 🏎️ Avoid computing all modified paths when running setDefaultsOnInsert and update validators 🛠️ Correct handling of relative vs absolute paths with maps and subdocuments Also our first automated publish with provenance 😎 github.com/Automattic/mon…
Incredibly cool usage of Mongoose 👇
We were invited to continue building Artificial Brains from @fdotinc this November. And to celebrate, with a bit of SF spirit and nostalgia for the old times when the internet was free, we're open-sourcing a Knowledge Graph SDK for @MongoDB built on top of @mongoosejs Why? Bc…
Cool pattern using Mongoose statics for logging 😎
Also good for Locality of Behavior All notifications, etc. are in the function, instead of some event layer indirection Makes testing easier: the `if (isTest)` bit makes it so that `await Log.sideEffect()` waits for the result if NODE_ENV === 'test'

Mongoose 8.19.1 released: 🏎️ Avoid getting all modified paths in update when checking if versionKey needs to be set 🛠️ Throw error if using update operator with modifier and no path github.com/Automattic/mon…
Mongoose 8.19.0 released 🌟 Upgrade mongodb driver to 6.20.0 🏎️ Optimize InferRawDocType types github.com/Automattic/mon… Thanks for the TypeScript perf optimizations @ssalbdivad @arktypeio 👍
Mongoose aliases is joke to you? 😅

Mongoose 8.18.3 released 🛠️ Avoid throwing error if update has a top-level $addToSet with no path 📒 Allow passing arbitrary options to query options for plugin compatibility github.com/Automattic/mon…
We finally corrected an incorrect statement in our hooks library's docs 🌝🏀

Major change we're considering for Mongoose 9: dropping support for callbacks (next, done, etc) in pre hooks Have thoughts? Chime in here 👉 github.com/Automattic/mon…
Mongoose 8.18.2 released: 🛠️ Prevent $clone() from converting mongoose arrays into vanilla arrays 🛠️ Use correct collection name for model when using useConnection() github.com/Automattic/mon…
The best db setup right here 👇
My database is hosted on MongoDB Atlas. I create a free M0 customer for each new project and use daily backups ($10/month). I use mongoose on top to simplify queries.

We've been saying this for 15 years 😂
Working with and changing database schemas is a nightmare with vibe coding Especially once you have lots of production data. Probably the hardest thing to do in vibe coding right now. How's everyone handling this stuff?
May be biased but we agree 😆
Mongoose 8.18.1 released 📒 Correct type inference for maps of maps 📒 Copy base model statics onto discriminator model github.com/Automattic/mon…
Common gotcha here: Mongoose supports BOTH minlength and minLength as a way to add a minimum length validator Because it is so easy to typo
Spot the bug 🐛 in this Mongoose schema! 👀 What’s wrong with the code below? 👉 Bonus: How would you fix it? A) Missing closing curly brace } in the schema B) Wrong export syntax C) mongoose.model should use lowercase user instead of 'User' D) Nothing is wrong #100DaysOfCode

🌟
My dream when I started @vercel was to build the organization where open source builders could thrive. After starting socket.io, @mongoosejs, and of course @nextjs, it's a true honor to now be able to support builders like the @nuxt_js and @sveltejs teams. This is…
socket.io
Socket.IO
Socket.IO
United States 趋势
- 1. Lakers 94.7K posts
- 2. Luka 72K posts
- 3. Ayton 15.6K posts
- 4. Pharos 9,934 posts
- 5. Marcus Smart 8,773 posts
- 6. #MLBS6Spoilers 6,837 posts
- 7. Froot N/A
- 8. Steph 34.1K posts
- 9. Rockets 60K posts
- 10. Warriors 97.5K posts
- 11. Draymond 8,801 posts
- 12. #DWTS 49.5K posts
- 13. #DubNation 13.5K posts
- 14. Reaves 9,370 posts
- 15. Shai 34.4K posts
- 16. Jimmy Butler 9,938 posts
- 17. Sengun 26.1K posts
- 18. Talus Labs 15.9K posts
- 19. #MOST_WANTED_IN_OAKLAND N/A
- 20. LeBron 37K posts
你可能会喜欢
-
Le Gruppetto
@LeGruppetto -
GraphQL
@GraphQL -
ionic
@Ionicframework -
Valeri Karpov
@code_barbarian -
Tony Kovanen
@TonyKovanen -
CHAD GOODMAN
@chadgoodman -
SimpsonDub🎙(Doblaje de Los Simpson)
@SimpsonDoblaje -
Isaac Newton Group
@INGLaPalma -
NodeSource
@NodeSource -
Hygraph
@hygraph -
Total.js Platform
@totalframework -
ensdao.eth
@ENS_DAO -
Pylon
@usepylon
Something went wrong.
Something went wrong.