Skip to content

TediousUtils.Interface.SqlParamValueAndDataType

Christian d'Heureuse edited this page Oct 28, 2026 · 1 revision

tedious-plus / TediousUtils / SqlParamValueAndDataType

Interface: SqlParamValueAndDataType

Defined in: TediousUtils.ts:301

The value and the SQL data type of a parameter.

Extends

Extended by

Properties

length?

length?: number;

Defined in: TediousUtils.ts:286

The length, for string and binary data types (e.g. NVarChar, VarBinary).

Inherited from

SqlParamDataType.length


precision?

precision?: number;

Defined in: TediousUtils.ts:291

The precision, for the data types Decimal and Numeric.

Inherited from

SqlParamDataType.precision


scale?

scale?: number;

Defined in: TediousUtils.ts:296

The scale, for the data types Decimal, Numeric, Time, DateTime2 and DateTimeOffset.

Inherited from

SqlParamDataType.scale


type

type: DataType;

Defined in: TediousUtils.ts:281

The Tedious data type, e.g. Tedious.TYPES.Int.

Inherited from

SqlParamDataType.type


value

value: unknown;

Defined in: TediousUtils.ts:306

The parameter value. null or undefined is passed as SQL NULL.

Clone this wiki locally