Monday, 5 June 2017

node.js - Node JS SQL prevent sql injection

How to prevent sql injection. I have this sql query.



db.query('SELECT data FROM '+(server)+'.users WHERE user = 1');

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...