Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged mysql如何插入一个数组?(nodejs

0 votes
3.0k views
1 answer
    表结构是这样的: 这两个字段存的是数组数据 前端每次发请求前都要转为string // 数组=>string(前端代码) this.ruleForm.contact = JSON.stringify(this.ruleForm.contact); this.ruleForm ... 换 如果不转换的话sql就会报错 感觉这样来回转换好麻烦,有好的解决方法么?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.0k views
1 answer
    表结构是这样的: 这两个字段存的是数组数据 前端每次发请求前都要转为string // 数组=>string(前端代码) this.ruleForm.contact = JSON.stringify(this.ruleForm.contact); this.ruleForm ... 换 如果不转换的话sql就会报错 感觉这样来回转换好麻烦,有好的解决方法么?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...