MCQs>IT & Programming>MongoDB>Which of the following atomic operations would you use to add a value to an array only if it does not already exist in the array?
MongoDB MCQs
Which of the following atomic operations would you use to add a value to an array only if it does not already exist in the array?
Answer
Correct Answer: $addToSet
Explanation:
Note: This Question is unanswered, help us to find answer for this one