-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.4
-
Component/s: Query Operations
-
None
Hello
The delete requests are created with a "limit" parameter and mongodb does not accept it :
db.domainevents.deleteMany(
{ aggregateIdentifier: "2f13501d-6199-425d-899f-cbd51488ec24", limit: "0" })
We did not find any way to change the sent request.
The following code :
systematically adds limit parameter in the request :
writer.writeInt32("limit", deleteRequest.isMulti() ? 0 : 1);
Thanks for mongodb
- duplicates
-
SERVER-42087 Delete query with limit in query does not delete
- Closed
- is duplicated by
-
SERVER-42087 Delete query with limit in query does not delete
- Closed