Skip to content

Commit

Permalink
Connection fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
hissssst committed Jun 13, 2019
1 parent 9a754c2 commit d1e2456
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/clickhouse_ecto/connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ defmodule ClickhouseEcto.Connection do
execute(conn, %Query{name: "", statement: statement}, params, options)
end

def query(conn, statement, params, options) do
execute(conn, statement, params, options)
end

defp is_no_data_found_bug?({:error, error}, statement) do
is_dml = statement
|> IO.iodata_to_binary()
Expand Down

0 comments on commit d1e2456

Please sign in to comment.