Database Management
MongoDB
Subjective
Sep 25, 2025
What is the $addToSet operator?
Detailed Explanation
$addToSet adds elements to an array only if they do not already exist in the set.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts