I'm trying to add an index called "id" in my collection but it returns:
E11000 duplicate key error index: collec.items.$id_1 dup key: { : -27 }
Is it before of a conflict between _id
and id
?
I really need the id
field to be unique to avoid duplicates.