Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize find query to return raw data in json object format

db.Sensors.findAll({
  where: {
    nodeid: node.nodeid
  },
  raw: true,
  nest: true,
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #find #query #return #raw #data #json #object #format
ADD COMMENT
Topic
Name
6+4 =