Re:What MongoDB got right
by popmystack on Friday November 13, 2015 @01:09PM
(#10561306)
It's almost as if constructing SQL queries by concatenating strings from user input is a bad idea.
I don't see how using vanilla mongo in the same fashion would solve the blight you have placed on SQL.
Re:What MongoDB got right
by nemothekid on Saturday November 14, 2015 @10:59PM
(#10568421)
In Mongo, `db.findOne({"username":"$_GET["name"], "password":$_GET["password"]})` won't open your database to the public.
While SQL is a powerful language, the article is right. Mongo query language is useful enough to easily give application developers a place to query and store data without giving them enough rope to hang themselves.
Years of SQL injection mitigation don't agree with you. Are you sure you just don't prefer it because you are familiar with it?