typeorm query builder where type code example
Example: typeorm tosql
const sql = connection.createQueryBuilder()
.select("user")
.from(User, "user")
.where("user.id = :id", { id: 1 })
.getSql();
const sql = connection.createQueryBuilder()
.select("user")
.from(User, "user")
.where("user.id = :id", { id: 1 })
.getSql();