File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -123,20 +123,18 @@ module.exports = {
123
123
124
124
// e.g. `'$3'` => `'3'` => `3` => `2`
125
125
var idx = + ( substr . slice ( 1 ) ) - 1 ;
126
- // console.log('idx:',idx);
127
126
128
127
// If no such binding exists, then just leave the original
129
128
// template string (e.g. "$3") alone.
130
129
if ( idx >= bindings . length ) {
131
130
return substr ;
132
131
}
133
- // console.log('bindings[idx]:',bindings[idx]);
134
132
135
133
// But otherwise, replace it with the escaped binding.
136
134
return inputs . connection . escape ( bindings [ idx ] ) ;
137
135
} ) ;
138
136
139
- // console.log('Running compiled SQL:', sql);
137
+ debug ( 'Compiled (final) SQL: ' + sql ) ;
140
138
141
139
// Send native query to the database using node-mysql.
142
140
inputs . connection . query ( sql , function query ( ) {
You can’t perform that action at this time.
0 commit comments