文章详情页
node mysql 中 connection.query的问题
浏览:240日期:2022-06-18 18:01:52
问题描述
node mysql 中 connection.query(’select * from table where tel=?’,[tel],function(){}),如果tel有多个值怎么办?
问题解答
回答1:connection.query(’select * from table where age=? and tel in (?);’,[20, [1, 2, 3]],function(){})
相关文章:
1. web服务器 - ubuntu下布置apache加wsgi加python2. dockerfile - 为什么docker容器启动不了?3. CSS3的渐变属性的疑惑4. android 如何实现如图中的键盘上的公式及edittext的内容展示呢5. 发现了多个名称为[spring_web]的片段相对顺序不合法6. python - pip install出现下面图中的报错 什么原因?7. java - SpringMVC 中 <mvc:resources> 标签的用途8. css3动画 - css3 animation初始动画卡顿是怎么回事?9. python3.x - python连oanda的模拟交易api获取json问题第二问10. php对mysql提取数据那种速度更快
排行榜

网公网安备