what I Learnd/TIL

Sequelize findAll , dataValues만 가져오기

Hana-J 2021. 12. 23. 14:48
//findAll 에 raw:true 조건추가
const keyword = await PrivateApt.findAll({attributes:['houseName'], raw:true})

설정전
설정후

728x90