SyntaxFix
Write A Post
Hire A Developer
Questions
you can use map function. this is worked for me.
db.Sensors .findAll({ where: { nodeid: node.nodeid } }) .map(el => el.get({ plain: true })) .then((rows)=>{ response.json( rows ) });