Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sqlquerybuilder

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlquerybuilder - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

9

lib/where.js

@@ -190,8 +190,11 @@ module.exports = function where(self) {

var dropAlias2 = self._selectProps[self._selectAliases.indexOf(pars[0])];
console.log('dropAlias', dropAlias2);
whereString += "(" + (dropAlias2 ? dropAlias2 : (self._sqlObject.fromAlias + "." + pars[0]));
whereString += pars[1].toUpperCase() === "NULL" ? " IS " : " = ";
if(isNaN(pars[1] && pars[1].toUpperCase() !== 'NULL')){
whereString += "'";
whereString += pars[1] + "'" + ")";
} else {
whereString += pars[1] +
")";
console.log('werheString', whereString);
")";
}
continue;

@@ -198,0 +201,0 @@ }

{
"name": "sqlquerybuilder",
"version": "0.0.30",
"version": "0.0.31",
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.",

@@ -5,0 +5,0 @@ "main": "./lib/index",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc