@types/tsqlstring
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/tsqlstring

Weekly Downloads

269

Version

1.0.2

License

MIT

Unpacked Size

3.8 kB

Total Files

5

Last publish

Collaborators

  • types