L
L
Little Vasya2020-12-04 08:55:48
MySQL
Little Vasya, 2020-12-04 08:55:48

AggregateError in Sequilize?

there are tables many to many T1, T2 and T1T2 at request in the table T2 writes down. data but not in the 3rd table

sequelize: Executing (default): SELECT `id`, `name`, `description`, `updatedAt`, `userCreatedId`, `isDeleted` FROM `Quizzes` AS `Quiz` WHERE `Quiz`.`id` = '41' AND `Quiz`.`quizType` = 'SURVEY';
sequelize: Executing (default): INSERT INTO `Questions` (`id`,`text`,`grade`,`weight`,`pictureUrl`,`audioUrl`,`videoUrl`,`templateAnswer`,`type`,`isRequired`,`isDeleted`,`createdAt`,`updatedAt`,`questionGroupId`) VALUES (NULL,'dsa',1,1,NULL,NULL,NULL,NULL,'EXACT',false,false,'2020-12-04 05:44:23','2020-12-04 05:44:23',NULL);
error:  AggregateError: aggregate error

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question