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

Comment on: "manual/reference/command/findAndModify"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • None
    • None
    • nodejs

    Description

      I have specified update { $inc :

      { sequence_value : 1 }

      }for findAndModify, but it still return the error
      MongoError: Either an update or remove=true must be specified

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 4 weeks, 1 day ago