MongoDB is a little bit different, you have to like duck out to aggregations. And like writing aggregations is really, really tricky. So I much prefer when like, like for example, I have customers and I have users or like the Mongo pipe aggregation pipeline. It's named a bit funny because I named them before I had the users in the database and I've never wanted to switch it. The way in which you do a relational query using Prisma or any of these other ORMs is as simple as like include this field. That's the entire relation query.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode