oxide icon indicating copy to clipboard operation
oxide copied to clipboard

Support all delete use cases

Open fcoury opened this issue 3 years ago • 0 comments

Our implementation only deletes all records that match the query.

We need to add proper support for deleteOne and ordered:

https://www.mongodb.com/docs/manual/reference/method/db.collection.deleteOne/

[Document({"delete": String("test_16deae6e-2afa-42a6-b129-ceef7d46c19b"), "deletes": Array([Document({"q": Document({"a": Int32(1)}), "limit": Int32(0)})]), "ordered": Boolean(true), "$db": String("db_test")})]

fcoury avatar Jul 16 '22 22:07 fcoury