Need Assistance?

support@tutorialshub.in

Query & Logical Operators

Element & Regex Operators ($exists, $type, $regex)

ADVERTISEMENT
MongoDB Free Lesson
5 min read
ADVERTISEMENT

Use $exists to check whether a field is present in a document, and $regex for pattern-based text matching (such as case-insensitive search with option 'i').

ADVERTISEMENT
Hi, I'm Tuby! Here to help you