0👍
seem’s the problem is in the nodejs function
"INSERT INTO users VALUES (?,?,?)"
for each data you need to put an ‘?’ in the values
also if you have an id in our database that is auto increment you need to specify columns to update
"INSERT INTO users(name,email) VALUES (?,?)"
i think your data is an array no need to put it in brackets just : ,data,
Source:stackexchange.com