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

Node driver example throws "writeConcern requires callback" error

    XMLWordPrintableJSON

Details

    • 0.3

    Description

      The example on the A Basic introduction to Mongo DB page does not execute as-is.

      If I copy/paste that example and run it, I get the following error:

      Error: writeConcern requires callback

      Attachments

        Activity

          People

            matt.broadstone@mongodb.com Matt Broadstone
            mark.helmstetter@mongodb.com Mark Helmstetter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 25 weeks, 2 days ago