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

Comment on: "manual/reference/method/db.collection.deleteOne"

    XMLWordPrintableJSON

Details

    Description

      This code don't work:
      db.orders.deleteOne(

      { "_id" : ObjectId("563237a41a4d68582c2509da") }

      );

      I change the "orders" to my definition (articles) and I change the id-num to match an id-num in my colletion (I ctrl+c - ctrl-v so I don't mess up).

      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, 31 weeks, 1 day ago