📅  最后修改于: 2022-03-11 14:57:48.982000             🧑  作者: Mango
const room: any = await connection
.getRepository(Room)
.createQueryBuilder("room")
.where("room.id = :room_id", { room_id: id })
.getOne();