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

1.0.0 • 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

// Type definitions for tsqlstring 1.0
// Project: https://github.com/kylefarris/tsqlstring
// Definitions by: Dong Joon Seo <https://github.com/srencat>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Sun, 27 Nov 2022 22:03:01 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Dong Joon Seo.

Keywords

none

Install

DownloadsWeekly Downloads

149

Version

1.0.0

License

MIT

Unpacked Size

4.27 kB

Total Files

5

Last publish

Collaborators

  • types