DEV Community

loading...
Cover image for MongoDB $weeklyUpdate #1: Guess Who's Back?
MongoDB

MongoDB $weeklyUpdate #1: Guess Who's Back?

Adrienne Tacke
Code finds a way; I just help.
・4 min read

🎢 back again... 🎢

πŸ‘‹ Hi everyone!

Welcome to the FIRST edition of MongoDB $weeklyUpdate, a weekly digest of MongoDB tutorials, articles, and community spotlights!

πŸ˜… We know, we know...MongoDB has been kinda AFK (away from keyboard) for a while on Dev.to, but that's all about to change! Each week, we'll be sharing the latest and greatest MongoDB content, curated by Adrienne Tacke at MongoDB:

adriennetacke image
We'll be featuring our favorite community content too. We're just excited to be back again so that we can educate and empower our fellow developers!

Enjoy the first edition!

πŸ’‘ ICYMI on the DevHub

Want to find the latest MongoDB tutorials and articles written for developers, by developers? Look no further than our DevHub!

Real-Time Chat in a Phaser Game with MongoDB and Socket.io

Interaction in a game comes in many forms! One of the most overlooked ways to add interaction among players is the in-game chat. Check out this tutorial to learn how to add real-time chat to your games with MongoDB and Socket.io.

How to Write Integration Tests for MongoDB Realm Serverless Apps
We know we need them, but rarely do we write them... I'm talking about integration tests! Tune in to the second post of the larger DevOps + MongoDB Realm Serverless Functions = 😍 blog series, where you'll learn how to write integration tests for MongoDB Realm serverless apps.

How to Use the Union All Aggregation Pipeline Stage in MongoDB 4.4

If you've ever needed to combine two or more collections into a single result set in your aggregation pipeline, I have wonderful news for you: now you can! MongoDB 4.4 released the new $unionWith pipeline stage which is equivalent to SQL's UNION ALL operator (only in the good ways). Check out the full tutorial, complete with code samples!


πŸ“Ί Last Week on Twitch

We stream tech tutorials, live coding, and talk to members of our community every Friday. Sometimes, we even stream twice a week! Be sure to follow us on Twitch to be notified of every stream!

COVID-19 vectors next to title "Building and Scaling a CoronaTracker App with MongoDB

Ever wonder what it's like to build AND scale an app in the middle of (an unfortunately ongoing) pandemic? Well, the CoronaTracker App team did! Tune into our discussion on how a focus on open source and global community helped make this app a reality!

Watch now


πŸŽ™ Last Word on the MongoDB Podcast

Episode 16: This week, AppFarm co-founders Marius Tuft Mathisen and Ole Borgersen dive into low-code and no-code application development with hosts Nic Raboy & Mike Lynn.

(Not listening on Spotify? We got you! We're most likely on your favorite podcast network, including Apple Podcasts, PlayerFM, Podtail, and Listen Notes 😊 )


πŸ‘ Community Spotlight

Every week, we pick interesting articles, questions, and more from all over the internet! Be sure to use the #MongoDB hashtag when posting on dev.to or leave a comment on my weekly Tweets. You might be featured in an upcoming edition!

Slow query performance with GraphQL relationships
https://developer.mongodb.com/community/forums
Experiencing slow API response times with GraphQL in your MongoDB Realm apps? Check out this discussion for possible insights.

πŸƒ

πŸ› Node Workshop part 2 - free online workshop by SCS Concordia
https://dev.to

DEV user Lenmor Ld is hosting a free workshop this Thurs, Aug 27. Check this out to learn how to connect to MongoDB Atlas DB, a Cloud NoSQL database to your Node applications!

πŸƒ

Add MongoDB 4.2 ARM64 builds for Raspberry Pi OS 64 bit (Debian Buster)
https://developer.mongodb.com/community/forums
Curious about running MongoDB on a Raspberry Pi? This discussion has some great instructions on how to get started!

πŸƒ

Check for Unique Documents in MongoDB with Spring Boot
https://dev.to

πŸƒ

How to aggregate with value matched in an array then sort
https://stackoverflow.com/
Need to do this common aggregation? Check out this answer from user turivishal!

Discussion (2)

Collapse
pmgysel profile image
Philipp Gysel

Thanks for the interesting digest! I didn't know about the $unionWith feature, great to know one can combine different collection results πŸ˜€

Collapse
adriennetacke profile image
Adrienne Tacke Author

No problem! We're aiming to provide one every Monday :)

Yes! $unionWith has been a highly requested aggregation pipeline stage, so we're pretty happy it was released in 4.4! I'd be happy to hear your thoughts on the tutorial and see if anything's missing or unclear.