postgres-array
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -45,3 +45,9 @@ 'use strict' | ||
} | ||
if (entry !== null) entry = this.transform(entry) | ||
if (entry === 'true') { | ||
entry = true | ||
} | ||
if (entry === 'false') { | ||
entry = false | ||
} | ||
if (entry !== null && typeof entry !== 'boolean') entry = this.transform(entry) | ||
this.entries.push(entry) | ||
@@ -48,0 +54,0 @@ this.recorded = [] |
{ | ||
"name": "postgres-array", | ||
"main": "index.js", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Parse postgres array columns", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
4667
83