Skip to content

Commit

Permalink
Update spec for Ecto.Adapters.SQL.Query! (#414)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeroen Bourgois <[email protected]>
  • Loading branch information
jeroenbourgois and jeroenbourgois authored Jun 3, 2022
1 parent 9c05d4f commit 01b6192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecto/adapters/sql.ex
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ defmodule Ecto.Adapters.SQL do
@doc """
Same as `query/4` but raises on invalid queries.
"""
@spec query!(Ecto.Repo.t | Ecto.Adapter.adapter_meta, iodata, [term], Keyword.t) ::
@spec query!(pid() | Ecto.Repo.t | Ecto.Adapter.adapter_meta, iodata, [term], Keyword.t) ::
%{:rows => nil | [[term] | binary],
:num_rows => non_neg_integer,
optional(atom) => any}
Expand Down

0 comments on commit 01b6192

Please sign in to comment.