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

[Server] showExpandedEvents example has incorrect syntax

    XMLWordPrintableJSON

Details

    Description

      The example given here has a syntax error. It doesn't work when I copy paste it into my shell:

      let cur = db.names.aggregate( [
         $changeStream: {
            showExpandedEvents: true
         }
      ] )
      uncaught exception: SyntaxError: missing ] after element list :
      

      Attachments

        Activity

          People

            ian.fogelman@mongodb.com Ian Fogelman
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 3 weeks ago