E
await entityManager.save(entity)
console.log(entity.id)
Size: a a a
E
await entityManager.save(entity)
console.log(entity.id)
IN

IK
IN
IN

IK
IN
AU
AU
await getConnection()
.createQueryBuilder()
.insert()
.into(Topic)
.values(topicsToSave as Topic[])
.onConflict(`("name") DO NOTHING`)
.execute();
AU
AU
getRepository(Topic).save(topics); сохраняет связи, но при конфликте поля name вываливает ошибку и ничего не сохраняетIK
AU
IK
IK
AU
IK
AU
IK