Comparing version 0.0.3 to 0.0.4
@@ -43,3 +43,9 @@ "use strict"; | ||
for(var key in task.map) { | ||
sqlRequest.addParameter(key, TYPES.VarChar, task.map[key].toString()); | ||
var value = task.map[key]; | ||
if (typeof value === 'object') { | ||
value = JSON.stringify(value); | ||
} | ||
sqlRequest.addParameter(key, TYPES.VarChar, value.toString()); | ||
} | ||
@@ -46,0 +52,0 @@ |
{ | ||
"name": "dbpush", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/fredericosilva/dbpush.git", |
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
2168
44