File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,9 @@ declare namespace serverlessMysql {
100100 config ( config ?: string | MySQL . ConnectionConfig ) : MySQL . ConnectionConfig
101101 query < T > ( ...args ) : Promise < T >
102102 end ( ) : Promise < void >
103- escape ( str : string ) : MySQL . EscapeFunctions
103+ escape : MySQL . EscapeFunctions [ 'escape' ] ,
104+ escapeId : MySQL . EscapeFunctions [ 'escapeId' ] ,
105+ format : MySQL . EscapeFunctions [ 'format' ] ,
104106 quit ( ) : void
105107 transaction ( ) : Transaction
106108 getCounter ( ) : number
Original file line number Diff line number Diff line change @@ -418,6 +418,9 @@ module.exports = (params) => {
418418 }
419419
420420 let escape = MYSQL . escape
421+ let escapeId = MYSQL . escapeId
422+ let format = MYSQL . format
423+
421424 // Set MySQL configs
422425 config ( connCfg )
423426
@@ -429,6 +432,8 @@ module.exports = (params) => {
429432 query,
430433 end,
431434 escape,
435+ escapeId,
436+ format,
432437 quit,
433438 transaction,
434439 getCounter,
You can’t perform that action at this time.
0 commit comments