tedious-plus / TediousUtils / deriveParamDataTypeFromValue
function deriveParamDataTypeFromValue(value): DataType;
Defined in: TediousUtils.ts:454
Derives the SQL parameter data type from a JavaScript value.
string
NVarChar
number
Int
BigInt
Float
bigint
boolean
Bit
Buffer
VarBinary
Date
DateTime2
null
undefined
NULL
unknown
The parameter value.
DataType
The Tedious data type.
Error If the data type of the value is not supported.
There was an error while loading. Please reload this page.