How to execute find all method after executing for loop in Sequelize Node.Js?
Advertisements I have a for loop. And I inserted each value into a table. After that when I query using findAll/findOne method, it says null. I want to get the data of User_Paper table after executing for loop. const newPaper = new Paper({ title, abstract, contributor, contributor: authors, paper_file: file, paper_topicId: ptopic.id, categoryId: c1.id, postingDate,… Read More How to execute find all method after executing for loop in Sequelize Node.Js?