csv-importer
csv-importer copied to clipboard
Auto Skip Update Without Changes
The report shows "Import completed: x updated"
after the import regardless if there were updates or not, I find that quite confusing. I provide a workaround to get proper "Import completed: x update skipped"
. However the report needs to be revisited a bit because the rows skipped are marked as invalid, that is not represented the truth, you can add a custom logical during your import and skip some rows, that doesn't make them invalid, just omitted.
This is an interesting point. It'd be good to only count as updated records that's data has changed. skip
currently means skip because invalid
. We would indeed have to revisit the way we generate reports. I believe it could be something like: 2 created, 3 updated, 4 skipped, 1 invalid
.
I'll think about it some more. This might introduce breaking changes.