4 points · by tehlike · 6y ago · 8 comments
I heard stories where people would just start with mongo and eventually migrate to more mature tech as they go, but that need seem to have evaporated.
Thoughts?
1. Because Postgres support for complex JSON queries are sub par compared to MongoDB
2. When I did use MongoDB it was with C#. The Mongo Linq driver is excellent. You write standard Linq queries and it gets translated to MongoQuery. You use standard C# POCO objects and the compiler ensures a consistent “schema”.
Did mongo linq driver support everything linq supported? I assume joins would not be or other complex things you'd otherwise use with rdbms.
On postgres + linq + document db - check: https://martendb.io/documentation/documents/querying/linq/
https://www.axonize.com/blog/iot-technology/joining-collecti...
The weird left join syntax for LINQ with Mongo is endemic to how LINQ does left joins even with an RDMS. Yeah it’s obtuse.
Someone pointed that out to me when I answered a question dismissing mongo.