sqlquerybuilder
Advanced tools
Comparing version 0.0.47 to 0.0.49
@@ -26,3 +26,3 @@ var gulp = require('gulp'), | ||
process.env.CONFIG_ENV='development'; | ||
return gulp.src(['test/*.js', 'test/unit/*.js'], { read: false }) | ||
return gulp.src(['test/**/*.js'], { read: false }) | ||
.pipe(mocha({ reporter: 'spec' })) | ||
@@ -35,3 +35,3 @@ .on('error', gutil.log); | ||
process.env.CONFIG_ENV='development'; | ||
return gulp.src(['test/*.js', 'test/unit/*.js'], { read: false }) | ||
return gulp.src(['test/**/*.js'], { read: false }) | ||
.pipe(mocha({ reporter: 'spec' })) | ||
@@ -38,0 +38,0 @@ .on('error', gutil.log); |
@@ -106,3 +106,3 @@ module.exports = function selects(self) { | ||
self._sqlObject.select += " AS '" + alias + "'"; | ||
self._selectAliases.push({alias:alias.replace(/'/g, ""),selectProp:props[i]}); | ||
self._selectAliases.push({alias:alias.replace(/'/g, ""),selectProp:tableName}); | ||
if (j != aliases.length - 1) self._sqlObject.select += ", " + props[i]; | ||
@@ -109,0 +109,0 @@ } |
{ | ||
"name": "sqlquerybuilder", | ||
"version": "0.0.47", | ||
"version": "0.0.49", | ||
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
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
221923
4512