Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MssqlParameter

Sql server driver requires parameter types to be specified fo input parameters used in the query.

see

https://github.com/patriksimek/node-mssql#data-types

Hierarchy

  • MssqlParameter

Index

Constructors

Properties

Constructors

constructor

  • new MssqlParameter(value: any, type: "bit"): MssqlParameter
  • new MssqlParameter(value: any, type: "bigint"): MssqlParameter
  • new MssqlParameter(value: any, type: "decimal", precision?: number, scale?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "float"): MssqlParameter
  • new MssqlParameter(value: any, type: "int"): MssqlParameter
  • new MssqlParameter(value: any, type: "money"): MssqlParameter
  • new MssqlParameter(value: any, type: "numeric", precision?: number, scale?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "smallint"): MssqlParameter
  • new MssqlParameter(value: any, type: "smallmoney"): MssqlParameter
  • new MssqlParameter(value: any, type: "real"): MssqlParameter
  • new MssqlParameter(value: any, type: "tinyint"): MssqlParameter
  • new MssqlParameter(value: any, type: "char", length?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "nchar", length?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "text"): MssqlParameter
  • new MssqlParameter(value: any, type: "ntext"): MssqlParameter
  • new MssqlParameter(value: any, type: "varchar", length?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "nvarchar", length?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "xml"): MssqlParameter
  • new MssqlParameter(value: any, type: "time", scale?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "date"): MssqlParameter
  • new MssqlParameter(value: any, type: "datetime"): MssqlParameter
  • new MssqlParameter(value: any, type: "datetime2", scale?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "datetimeoffset", scale?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "smalldatetime"): MssqlParameter
  • new MssqlParameter(value: any, type: "uniqueidentifier"): MssqlParameter
  • new MssqlParameter(value: any, type: "variant"): MssqlParameter
  • new MssqlParameter(value: any, type: "binary"): MssqlParameter
  • new MssqlParameter(value: any, type: "varbinary", length?: number): MssqlParameter
  • new MssqlParameter(value: any, type: "image"): MssqlParameter
  • new MssqlParameter(value: any, type: "udt"): MssqlParameter
  • new MssqlParameter(value: any, type: "geography"): MssqlParameter
  • new MssqlParameter(value: any, type: "geometry"): MssqlParameter
  • new MssqlParameter(value: any, type: "rowversion"): MssqlParameter

Properties

params

params: any[] = []

type

type: string

value

value: any

Generated using TypeDoc