Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5125

Incorrect syntax on: "manual/reference/operator/meta/maxTimeMS.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual

    Description

      The syntax given for maxTimeMS is incorrect and results in a query with an unlikely projection.

      db.collection.find( { } ,

      { $maxTimeMS: 100 }

      )

      should be

      db.collection.find( { $query: { }, $maxTimeMS: 100 } )

      Reporter: Jon Anderson
      E-mail: squiggs.jonny5@gmail.com

      Attachments

        Activity

          People

            michael.paik Michael Paik
            squiggs.jonny5@gmail.com Jonathan Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 46 weeks, 2 days ago