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.78 to 0.0.79

11

lib/where.js

@@ -147,2 +147,3 @@ var _ = require('lodash'),

if (opIndex !== -1) {
var operator = '=';
if (subFilter.charAt(0) === '(') {

@@ -154,6 +155,14 @@ whereString += '(';

}
if (subFilter.charAt(0) === '!') {
operator = '!=';
subFilter = subFilter.substr(1);
opIndex = subFilter.indexOf(".Equals");
shouldAppendParenth = true;
}
reference = subFilter.substr(0, opIndex);
whereString += self._whereJoin(reference) +
" = '" +
" " + operator + " '" +
//" = '" +
sqlescape(subFilter.substr(opIndex + 9, subFilter.lastIndexOf("\"") - (opIndex + 9))) +

@@ -160,0 +169,0 @@ "'";

2

package.json
{
"name": "sqlquerybuilder",
"version": "0.0.78",
"version": "0.0.79",
"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