getRepository(User) .createQueryBuilder("user") .where("user.id = :id", { id: 1 }) .getOne(). It builds the following SQL query: SELECT. user.id as userId,.
確定! 回上一頁