Skip to content

Commit bd9a2c7

Browse files
committed
Fix native query prepareValue call
1 parent f6f0abb commit bd9a2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ p.prepare = function(connection) {
143143
}
144144

145145
if(self.values) {
146-
self.values = self.values.map(function(val) { return prepareValue(o, false); });
146+
self.values = self.values.map(function(val) { return prepareValue(val, false); });
147147
}
148148

149149
//http://developer.postgresql.org/pgdocs/postgres/protocol-flow.html#PROTOCOL-FLOW-EXT-QUERY

0 commit comments

Comments
 (0)