News for hackers. Stuff that matters.
Re:Amazon DocumentDB, with MongoDB compatibility by scarface74 on Wednesday January 09, 2019 @09:43PM (#18871098)
Anecdote:

I led a C# project where we could seamlessly switch back and forth between Mongo and SQL Server without changing the underlying LINQ expressions.

We sent the expressions to the Mongo driver and they got translated to MongoQuery we sent the expressions to Entity Framework and they got translated to Sql Server.

Re:Amazon DocumentDB, with MongoDB compatibility by manigandham on Thursday January 10, 2019 @08:08AM (#18873529)
C# is ahead of the game with LINQ, expression syntax, and the entire Rosyln platform. Passing an IQueryable<> around that can be interpreted and transformed for multiple backends is a incredibly productive. I wish more people knew about this, and .NET in general.
Re:Amazon DocumentDB, with MongoDB compatibility by scarface74 on Thursday January 10, 2019 @08:40AM (#18873698)
And I’ve seen a few Java and Javascript libraries that purport to “implement LINQ” and they don’t get the power of LINQ is not the syntax, it’s that LINQ translates your code to expressions that can be parsed and translated to any back end query - it’s not just an ORM.

I’ve seen a LINQ to REST API provider.