Skip to main content Link Search Menu Expand Document (external link)

index overview

Added in v1.0.0


Table of contents


exports

From “./MssqlClient.js”

Re-exports all named exports from the “./MssqlClient.js” module as MssqlClient.

Signature

export * as MssqlClient from "./MssqlClient.js"

Added in v1.0.0

From “./MssqlMigrator.js”

Re-exports all named exports from the “./MssqlMigrator.js” module as MssqlMigrator.

Signature

export * as MssqlMigrator from "./MssqlMigrator.js"

Added in v1.0.0

From “./Parameter.js”

Re-exports all named exports from the “./Parameter.js” module as Parameter.

Signature

export * as Parameter from "./Parameter.js"

Added in v1.0.0

From “./Procedure.js”

Re-exports all named exports from the “./Procedure.js” module as Procedure.

Signature

export * as Procedure from "./Procedure.js"

Added in v1.0.0

utils

MssqlTypes

Signature

export declare const MssqlTypes: {
  TinyInt: DataType
  Bit: DataType
  SmallInt: DataType
  Int: DataType
  SmallDateTime: DataType
  Real: DataType
  Money: DataType
  DateTime: DataType
  Float: DataType
  Decimal: DataType & {
    resolvePrecision: (parameter: Parameter) => number
    resolveScale: (parameter: Parameter) => number
  }
  Numeric: DataType & {
    resolveScale: (parameter: Parameter) => number
    resolvePrecision: (parameter: Parameter) => number
  }
  SmallMoney: DataType
  BigInt: DataType
  Image: DataType
  Text: DataType
  UniqueIdentifier: DataType
  NText: DataType
  VarBinary: { maximumLength: number } & DataType
  VarChar: { maximumLength: number } & DataType
  Binary: { maximumLength: number } & DataType
  Char: { maximumLength: number } & DataType
  NVarChar: { maximumLength: number } & DataType
  NChar: DataType & { maximumLength: number }
  Xml: DataType
  Time: DataType
  Date: DataType
  DateTime2: DataType & { resolveScale: (parameter: Parameter) => number }
  DateTimeOffset: DataType & { resolveScale: (parameter: Parameter) => number }
  UDT: DataType
  TVP: DataType
  Variant: DataType
}

Added in v1.0.0