Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-42235

Err: $not cannot have a regex, db -v=4.0.10

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 4.0.10
    • None
    • None
    • Mac

    Description

      Hello MongoDB Community

      I am having trouble with $not operator. Getting error that "$not cannot have a regex". I looked into official documentation but it's says it shall work from version 4.0.7. So, I tried updating my mongodb and installed latest stable version 4.0.10. But still getting same error. I am attaching my error screenshot. Please let me know if I am doing anything wrong.

       

      Many thanks in advance.

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            yeshu@outlook.in Yeshu Kochher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: