Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js sequelize findbypk

Project.findByPk(123).then(project => {
  	console.log(project);
})

//--- OR ---
const result = await Project.findByPk(123);
 
PREVIOUS NEXT
Tagged: #js #sequelize #findbypk
ADD COMMENT
Topic
Name
3+4 =