File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ function getSqlExecutor(httpRequestFieldName) {
9797 //if the parameter is an object, assume it's a blob parameter
9898 if ( typeof param === "object" && param !== null ) {
9999 if ( param . hasOwnProperty ( "data" ) ) {
100- var data = param . data ;
100+ const data = param . data ;
101101 let buff = null ;
102102 if ( typeof Buffer . from === "function" ) {
103103 // Node 5.10+
@@ -122,7 +122,7 @@ function getSqlExecutor(httpRequestFieldName) {
122122 //if the parameter is an object, assume it's a blob parameter
123123 if ( typeof param === "object" && param !== null ) {
124124 if ( param . hasOwnProperty ( "data" ) ) {
125- var data = param . data ;
125+ const data = param . data ;
126126 let buff = null ;
127127 if ( typeof Buffer . from === "function" ) {
128128 // Node 5.10+
@@ -185,7 +185,7 @@ function getSqlExecutor(httpRequestFieldName) {
185185
186186 //get field count for row
187187 let fieldcount = 0 ;
188- for ( var prop in row ) {
188+ for ( const prop in row ) {
189189 if ( Object . prototype . hasOwnProperty . call ( row , prop ) ) {
190190 fieldcount ++ ;
191191 }
You can’t perform that action at this time.
0 commit comments