Skip to content

Commit 07caef9

Browse files
authored
add def in_transaction?/0 in adapter
1 parent 306844b commit 07caef9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/mongo_ecto.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ defmodule Mongo.Ecto do
376376
quote do
377377
@doc false
378378
def __pool__, do: {unquote(pool_name), unquote(Macro.escape(norm_config))}
379+
380+
def in_transaction?, do: false
379381

380382
defoverridable [__pool__: 0]
381383
end

0 commit comments

Comments
 (0)