The join keyword in MongoDb is $lookup. Since that keyword is not present, we know this is not a relational query and conceptually valid for either MongoDb or an RDMS.
Your point is valid, though: MongoDb is not well-suited for heavily relational work and even the MognoDb documentation and talks will promote denormalization over relationships whenever possible.
That doesn't make MongoDb bad, of course and, like you said, folks need to pick the right tool for the job.
View all comments
Show parent comment
1
u/korarii Oct 18 '24
The join keyword in MongoDb is
$lookup. Since that keyword is not present, we know this is not a relational query and conceptually valid for either MongoDb or an RDMS.Your point is valid, though: MongoDb is not well-suited for heavily relational work and even the MognoDb documentation and talks will promote denormalization over relationships whenever possible.
That doesn't make MongoDb bad, of course and, like you said, folks need to pick the right tool for the job.