文章详情页
node mysql 中 connection.query的问题
浏览:226日期: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(){})
相关文章:
排行榜

网公网安备