Installation
npm install --save @types/tsqlstring
Summary
This package contains type definitions for tsqlstring (https://github.com/kylefarris/tsqlstring).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tsqlstring.
index.d.ts
export function escapeId(value: any, forbidQualified?: boolean): string;
export function escape(value: any, stringifyObjects?: boolean, timeZone?: string): string;
export function format(sql: string, args?: object | any[], stringifyObjects?: boolean, timeZone?: string): string;
export function raw(sql: string): { toSqlString: () => string };
export function arrayToList(array: string[], timeZone: string): string;
export function dateToString(date: string | number | Date, timeZone: string): string;
export function bufferToString(buffer: any): string;
export function objectToValues(object: object, timeZone: string): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Dong Joon Seo.