Commit f6737d52d60ba43ef31f6a841ffe949185cf8440

Authored by 陈亮
1 parent de783ccb

send the column proterty to the custom type handler

Showing 1 changed file with 1 additions and 1 deletions
lib/Drivers/DML/mysql.js
... ... @@ -283,7 +283,7 @@ Driver.prototype.propertyToValue = function (value, property) {
283 283 default:
284 284 customType = this.customTypes[property.type];
285 285 if(customType && 'propertyToValue' in customType) {
286   - value = customType.propertyToValue(value),property;
  286 + value = customType.propertyToValue(value,property);
287 287 }
288 288 }
289 289 return value;
... ...