Skip to content

Commit 20aef6c

Browse files
author
Simon Thörnqvist
committed
tvp param descriptor
1 parent 5c0d3c9 commit 20aef6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/tds/types.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ defmodule Tds.Types do
6767
@tds_data_type_nchar 0xEF
6868
@tds_data_type_xml 0xF1
6969
@tds_data_type_udt 0xF0
70+
@tds_data_type_tvp 0xF3
7071
@tds_data_type_text 0x23
7172
@tds_data_type_image 0x22
7273
@tds_data_type_ntext 0x63
@@ -768,6 +769,7 @@ defmodule Tds.Types do
768769
:date -> "date"
769770
:time -> "time"
770771
:smalldatetime -> "smalldatetime"
772+
:tvp -> "#{value.vame} readonly"
771773
:binary -> encode_binary_descriptor(value)
772774
:string ->
773775
cond do

0 commit comments

Comments
 (0)