Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
Using Terminal in Ubuntu.
*Location*: https://docs.mongodb.com/manual/reference/method/db.collection.deleteOne/#db.collection.deleteOne
*User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
*Referrer*: https://docs.mongodb.com/manual/crud/
*Screen Resolution*: 1680 x 1050
Using Terminal in Ubuntu. *Location*: https://docs.mongodb.com/manual/reference/method/db.collection.deleteOne/#db.collection.deleteOne *User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 *Referrer*: https://docs.mongodb.com/manual/crud/ *Screen Resolution*: 1680 x 1050
Description
This code don't work:
db.orders.deleteOne(
);
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).