2021 iThome 鐵人賽
分享至
https://typeorm.io/#/repository-api
關於 save() \ delete() \ remove() 有些進階設定以下紀錄
save()
userRepository.save(users, {chunk: users.length / 1000});
delete() \ remove()
userRepository.remove(users, {chunk: entities.length / 1000});
IT邦幫忙