📅  最后修改于: 2022-03-11 15:01:48.450000             🧑  作者: Mango
代码示例2
const sql = connection.createQueryBuilder()
.select("user")
.from(User, "user")
.where("user.id = :id", { id: 1 })
.getSql();