Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Drivers/DML/mysql.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Driver.prototype.valueToProperty = function (value, property) {
default:
customType = this.customTypes[property.type];
if(customType && 'valueToProperty' in customType) {
value = customType.valueToProperty(value);
value = customType.valueToProperty(value,property);
}
}
return value;
Expand All @@ -283,7 +283,7 @@ Driver.prototype.propertyToValue = function (value, property) {
default:
customType = this.customTypes[property.type];
if(customType && 'propertyToValue' in customType) {
value = customType.propertyToValue(value);
value = customType.propertyToValue(value),property;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this your intention? Shouldn't it be like the other change?

}
}
return value;
Expand Down