Skip to content

Commit 9147d93

Browse files
committed
Removed unnecessary condition on RubyFormat plugin
1 parent 72b8f29 commit 9147d93

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugins/RubyFormat.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ module.exports = function (Connection) {
55
values = values || {};
66

77
return sql.replace(/\:(\w+)/, function (m, k) {
8-
if (!values.hasOwnProperty(k)) {
9-
return 'NULL';
10-
}
118
return SqlString.escape(values[k], false, Connection._timezone);
129
});
1310
};

0 commit comments

Comments
 (0)