From 1affbc7956f9e143c8f05caa1ddcd8169a745c19 Mon Sep 17 00:00:00 2001 From: johnsoftek Date: Sun, 26 Feb 2017 12:55:42 +1000 Subject: [PATCH] Bugfix - https://github.com/strongloop-community/loopback-connector-sqlite3/issues/34 --- lib/sqlite3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {