[Question] Duplicate insertion with custom primary key #2117
Answered by divine
amirasyraf asked this question in Q&A
-
Hi, Lets say I have the following model:
Then,
The second insert is still successful despite it having the same customKey I don't think |
Beta Was this translation helpful? Give feedback.
Answered by divine Oct 10, 2020
Replies: 1 comment 4 replies
-
Hello, Have you created correct index within mongodb itself? Thanks! |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by divine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Hello,
Have you created correct index within mongodb itself?
Thanks!