typeorm メモ


生SQL

hoge.ts

const list = await entityManager.query("select * from users where user_id = ?", ["hoge"]);