文章詳情頁
node mysql 中 connection.query的問題
瀏覽:123日期: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(){})
相關文章:
排行榜
