Skip to content

Commit

Permalink
fix returned lists
Browse files Browse the repository at this point in the history
  • Loading branch information
whossname committed Sep 15, 2019
1 parent 0c71fcc commit 47e2d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mssqlex/type.ex
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ defmodule Mssqlex.Type do
{:sql_integer, [:null]}
end

# def encode(values, v) when is_list(values), do: Enum.map(values, &encode(&1, v))
def encode(values, v) when is_list(values), do: Enum.map(values, &encode(&1, v))

def encode(value, _) do
raise %Mssqlex.Error{
Expand Down

0 comments on commit 47e2d5c

Please sign in to comment.