Skip to content

Commit 23843f2

Browse files
author
Simon Thörnqvist
committed
fix! use correct map key in tvp param descriptor
1 parent 5c27cc0 commit 23843f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tds/types.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ defmodule Tds.Types do
775775
:date -> "date"
776776
:time -> "time"
777777
:smalldatetime -> "smalldatetime"
778-
:tvp -> "#{value.vame} readonly"
778+
:tvp -> "#{value.name} readonly"
779779
:binary -> encode_binary_descriptor(value)
780780
:string ->
781781
cond do

0 commit comments

Comments
 (0)