John Schottler
John Schottler
fwiw, I had this error after I had deleted my node_modules/bin (and any other bin folders recursively inside my node_modules folder). Simply deleting node_modules and running `npm install` got me...
Could it be that you don't need the `[]` and that drizzle is just the type and assuming that it'll be an array of that type? That's how dapper's equivalent...
To populate the @tvp parameter and run that sql, dapper is generating: ``` declare @tvp sometabletype-- or whatever type you're using insert into @tvp values (col1, col2, col3), (col1, col2,...
@DMEvans I think it's just a matter of providing the column names with the insert--see my comment above. Looks like dapper might just need to be updated to explicitly provide...
I think `ToDataTable` is a dapper function. This SO example uses a datatable. I'm going to try some stuff later today and see if I can come up with some...
Ok, it works! You can query the table type like so: ``` SELECT * FROM sys.columns WHERE object_id IN ( SELECT type_table_object_id FROM sys.table_types WHERE name = 'LifeDatesType' ); ```...