📅  最后修改于: 2022-03-11 15:04:19.679000             🧑  作者: Mango
const query = `
SELECT * FROM users
WHERE users.id = :value1 AND users.email = :value2;
`
const params = {value1:userId, value2:userEmail}
console.log(db.raw(query, params).toString())