Skip to content

Commit 4867f54

Browse files
committed
Don't delete query values after formatting
They may be useful to other users of the query object
1 parent 4c85ca0 commit 4867f54

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Connection.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ Connection.prototype.query = function(sql, values, cb) {
105105
}
106106

107107
query.sql = this.format(query.sql, query.values || []);
108-
delete query.values;
109108

110109
return this._protocol._enqueue(query);
111110
};

0 commit comments

Comments
 (0)