Skip to content

Commit 53be924

Browse files
guventmzCodeFoodPixels
authored andcommitted
Add mysql.raw global function.
1 parent b243642 commit 53be924

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function createPool(config: PoolConfig | string): Bluebird<Pool>;
77

88
export function createPoolCluster(config: mysql.PoolClusterConfig): Bluebird<PoolCluster>;
99

10-
export { Types, escape, escapeId, format, ConnectionOptions, PoolClusterConfig, MysqlError } from 'mysql';
10+
export { Types, escape, escapeId, format, raw, ConnectionOptions, PoolClusterConfig, MysqlError } from 'mysql';
1111

1212
export type mysqlModule = typeof mysql;
1313

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ exports.Types = mysql.Types;
1919
exports.escape = mysql.escape;
2020
exports.escapeId = mysql.escapeId;
2121
exports.format = mysql.format;
22+
exports.raw = mysql.raw;
2223

2324
exports.PoolCluster = PoolCluster;
2425
exports.Pool = Pool;

0 commit comments

Comments
 (0)