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.

Menu