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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:37:171344browse

mysqlnode.jsjson

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

Statement:
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