Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.toJSON() in sequelize

Model.findById(1).then(data => {
  console.log(data.toJSON());
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize
ADD COMMENT
Topic
Name
4+7 =