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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Environment:

      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

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

              Created:
              Updated:
              Resolved:
              9 years, 5 weeks, 4 days ago