Proceed with bulk insert operation on duplicate key error, but SHOW which documents are dupes
I receive many documents from an API that I want to write to my database. Unfortunately, the APIs paging is not great and often returns the same documents that have already been inserted. I therefore want to bulk-insert the documents I receive WITHOUT cancelling the whole operation, by just skipping the duplicate ones.