Skip to content

Commit ee88db5

Browse files
committed
Comment delete_one fully
1 parent 320669a commit ee88db5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

lib/vbt/repo.ex

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ defmodule VBT.Repo do
7878
multiple rows matching the given query, nothing will be deleted, and an error is returned.
7979
Likewise, the function returns an error if there are no rows matching the given query.
8080
"""
81-
@callback delete_one(Ecto.Queryable.t()) ::
82-
:ok | {:ok, any} | {:error, :not_found | :multiple_rows}
81+
82+
# @callback delete_one(Ecto.Queryable.t()) ::
83+
# :ok | {:ok, any} | {:error, :not_found | :multiple_rows}
8384

8485
@doc """
8586
Wrapper around `use Ecto.Repo`.
@@ -104,8 +105,8 @@ defmodule VBT.Repo do
104105
@impl VBT.Repo
105106
def fetch_one(queryable, opts \\ []), do: VBT.Repo.fetch_one(__MODULE__, queryable, opts)
106107

107-
@impl VBT.Repo
108-
def delete_one(query), do: VBT.Repo.delete_one(__MODULE__, query)
108+
# @impl VBT.Repo
109+
# def delete_one(query), do: VBT.Repo.delete_one(__MODULE__, query)
109110
end
110111
end
111112

0 commit comments

Comments
 (0)