Skip to content

Commit 330a774

Browse files
committed
remove collection in case of commitTransaction and abortTransaction
1 parent 0be5f84 commit 330a774

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/mongo.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,6 +1553,12 @@ defmodule Mongo do
15531553
:getMore ->
15541554
Keyword.pop_first(params, :collection)
15551555

1556+
:commitTransaction ->
1557+
"-"
1558+
1559+
:abortTransaction ->
1560+
"-"
1561+
15561562
_other ->
15571563
{Keyword.get(cmd, command), params}
15581564
end

0 commit comments

Comments
 (0)