fixed #296
@ -56,7 +56,7 @@ Postgres.prototype._getParameterValue = function(value, quoteChar) {
value = '\'{' + value.join(',') + '}\'';
}
} else {
value = _.map(value, this._getParameterValue, this);
value = _.map(value, this._getParameterValue.bind(this));
value = '(' + value.join(', ') + ')';
} else if (_.isFunction(value.toISOString)) {
@ -78,7 +78,7 @@ Table.prototype.createColumn = function(col) {
name: subfield
})];
}, this))
.object()
.fromPairs()
.value();
@ -20,7 +20,7 @@
},
"dependencies": {
"sliced": "0.0.x",
"lodash": "1.3.x"
"lodash": "4.1.x"
"devDependencies": {
"jshint": "*",