How to use placeholders while inserting data in MySql database using nodejs?
let r={ email:faker.internet.email() } ; connection_var.query("insert into users set ?",r, function(err,res){ if(err) throw err; console.log(res); } ); connection_var.end(); I wrote this code to insert a fake email addr in already existing database and into the users table just the problem…