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

2.3.2 • Public • Published

Installation

npm install --save @types/sqlstring

Summary

This package contains type definitions for sqlstring (https://github.com/mysqljs/sqlstring).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sqlstring.

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 };

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Marvin Hagemeister, and koooge.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sqlstring

Weekly Downloads

121,897

Version

2.3.2

License

MIT

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • types