@types/sqlstring
Version:
TypeScript definitions for sqlstring
24 lines (18 loc) • 997 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sqlstring/index.d.ts)
````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](https://github.com/marvinhagemeister), and [koooge](https://github.com/koooge).