postgres-interval
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -15,4 +15,5 @@ 'use strict' | ||
PostgresInterval.prototype.toPostgres = function () { | ||
return properties | ||
.filter(this.hasOwnProperty, this) | ||
var filtered = properties.filter(this.hasOwnProperty, this) | ||
if (filtered.length === 0) return '0' | ||
return filtered | ||
.map(function (property) { | ||
@@ -19,0 +20,0 @@ return this[property] + ' ' + property |
{ | ||
"name": "postgres-interval", | ||
"main": "index.js", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Parse Postgres interval columns", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4242
60