不要怂,就是干,撸起袖子干!

Commit b49c1601 by sdepold

formatting

1 parent 7ffacfe2
Showing with 3 additions and 2 deletions
......@@ -38,8 +38,9 @@ module.exports = (function() {
values: Utils._.values(attrValueHash).map(function(value){
//SQLite has no type boolean :
if(typeof value == "boolean")
value = value ? 1:0;
if (typeof value === "boolean") {
value = value ? 1 : 0;
}
return Utils.escape((value instanceof Date) ? Utils.toSqlDate(value) : value)
}).join(",")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!