MySQL Forums
Forum List  »  Connector/Node.js

Re: nodejs/
Posted by: Raymond Jender
Date: June 26, 2020 01:12PM

A little more digging and I found the problem. All in formatting of the insert.

It should look like this:

var sql = "insert into `room` (`roomid`) values ('"+data+"');"

Noticed a few different formats for this command. I wonder why none of them worked until I found this one.


Options: ReplyQuote

Written By
June 26, 2020 12:52PM
Re: nodejs/
June 26, 2020 01:12PM
June 30, 2020 11:31AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.