Im not able to use bulk insert in my DB using node.js lib mysljs.
I followed answers from:
How do I do a bulk insert in mySQL using node.js
with no succ
try using () around the question mark
var sql = "INSERT INTO resources (resource_container_id, name, title, extension, mime_type, size) VALUES (?) ";
Try removing the square brackets around values
You need to mark your keys with the grave accent (backtick) character, like this: `key`
Making your query
like this:
var sql = "INSERT INTO resources (`resource_container_id`, `name`, `title`, `extension`, `mime_type`, `size`) VALUES ?";