mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
505 B
TypeScript
11 lines
505 B
TypeScript
// Type definitions for sqlstring 2.2
|
|
// Project: https://github.com/mysqljs/sqlstring
|
|
// Definitions by: Marvin Hagemeister <https://github.com/marvinhagemeister>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
export function format(sql: string, args: object | any[]): string;
|
|
export function escape(value: any): string;
|
|
export function escapeId(value: any, dotQualifier?: boolean): string;
|
|
export function raw(sql: string): { toSqlString: () => string };
|