Skip to content

Commit

Permalink
add missing Ecto behavior impls
Browse files Browse the repository at this point in the history
  • Loading branch information
mweidner037 committed Oct 14, 2024
1 parent b3a910f commit 31b9e2f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/mongo_ecto.ex
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ defmodule Mongo.Ecto do
end

@impl true
def delete(repo, meta, filter, opts) do
def delete(repo, meta, filter, _remaining, opts) do
normalized = NormalizedQuery.delete(meta, filter)

Connection.delete(repo, normalized, opts)
Expand Down Expand Up @@ -759,6 +759,11 @@ defmodule Mongo.Ecto do
fun.()
end

@impl true
def checked_out?(_) do
false
end

## Storage

# Noop for MongoDB, as any databases and collections are created as needed.
Expand Down

0 comments on commit 31b9e2f

Please sign in to comment.