首页 > node mysql 中 connection.query的问题

node mysql 中 connection.query的问题

node mysql 中 connection.query('select * from table where tel=?',[tel],function(){}),如果tel有多个值怎么办?


connection.query('select * from table where age=? and tel in (?);',[20, [1, 2, 3]],function(){})
【热门文章】
【热门文章】