I have a unique _id
for every document. So when a document with the same _id
which is already imported, I get a duplicate error.
How can I skip already inserted _id
's?
if already inserted:
ignore and go to next.
I have a unique _id
for every document. So when a document with the same _id
which is already imported, I get a duplicate error.
How can I skip already inserted _id
's?
if already inserted:
ignore and go to next.