SM Sohan expresses his discontent with MongoDB’s JSON-based query representation:
I find the MongoDB API is abusing JSON in a really bad way. JSON is probably a good format for storing the documents in MongoDB, but using JSON for it’s weird API is simply a terrible idea.
Using JSON (nb BSON) for representing queries works well for basic equality matching. But I agree that for more advanced queries it looks quite forced. While definitely not perfect, I prefer (biasedly) RethinkDB’s API. On the other hand, I’m not aware of any proposals to make MongoDB’s query language better. Nor that there would be any willingness to change it.
Update: The (always) entertaining HN thread.
Original title and link: MongoDB Is Abusing JSON With Its Query Language ( ©myNoSQL)