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

Incorrect syntax for tailable cursors

    XMLWordPrintableJSON

Details

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

    Description

      Affects 3.2 and 3.4.

      MongoDB Enterprise > db.capped.find().tailable(isAwaitData:true)
      2017-01-12T10:00:20.819-0500 E QUERY    [thread1] SyntaxError: missing ) after argument list @(shell):1:37
       
      MongoDB Enterprise > 
      

      it should be

      cursor.tailable( { isAwaitData : <boolean> } )
      

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            nathaniel.may Nathaniel May
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 4 weeks, 6 days ago