Home > Database > Mysql Tutorial > node.js-mysql存储json报错问题

node.js-mysql存储json报错问题

WBOY
Release: 2016-06-06 09:37:17
Original
1337 people have browsed it

mysqlnode.jsjson

问题的原因我找到了,可是不知道怎么解决。我的脚本语言是node.js,将object转换成json后确实是string类型,但是里面包含多个双引号,再加上外套的一对双引号,sql语句就识别错误,导致无法执行,请问下应该怎么解绝?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template