diff --git a/lib/sqlite3.js b/lib/sqlite3.js index 7ef5984..ea5e4d0 100644 --- a/lib/sqlite3.js +++ b/lib/sqlite3.js @@ -558,7 +558,7 @@ SQLite3.prototype.toColumnValue = function(property, value) { }; SQLite3.prototype.fromColumnValue = function(property, value) { - if (value === null || !property) { + if (value == null || !property) { return value; } switch (property.type.name) {