sy-node-mysql
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "sy-node-mysql", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=6.0" |
@@ -182,3 +182,3 @@ 'use strict'; | ||
let sql = 'select '; | ||
if (opts.fields instanceof Array && opts.fields.length > 0) { | ||
if (opts && opts.fields instanceof Array && opts.fields.length > 0) { | ||
sql += '`'; | ||
@@ -185,0 +185,0 @@ sql += opts.fields.join('`,`'); |
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
20375