How does sequezlie bulkCreate get influence rows

bulkCreate (records, [options])-> Promise. < Array. < Instance > >
after setting the options.ignoreDuplicates option, instances of records array records will be returned regardless of whether they are created or ignored. How to get only the affected rows

Mar.16,2021

cannot be obtained in the hook. The affected row is the result returned after the mysql operation, which can only be manually obtained and processed outside the hook.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32c19-e38b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32c19-e38b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?