nodejs,mysql语句in的写法
时间:2021-07-01 10:21:17
帮助过:38人阅读
= [‘b3bc6e3dbb2a420aa8d569d70283e4ed‘, ‘6fa0671fd75d418398b5ab4a35bfe21d‘]
const sql = `select id,pay_type from pet_register_info where id in
(?)`;
const result = await conn.query(sql, [
ids]);
return result[0];
}
nodejs,mysql语句in的写法
标签:mysq await type res mysql exports export style exp