I really like using sequelize as my ORM for my node application, but right now, I am kind of irritated when they are passing DAO objects by default when you query. How can I
For create you can use this:
Model.create(modelObject) .then((resultEntity) => { const dataObj = resultEntity.get({plain:true}) }
Check this out: Set raw = true on Sequelize Model.create