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

ee-query-builder

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-query-builder - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

7

lib/QueryBuilder.js

@@ -130,3 +130,4 @@ !function(){

, _buildUpdateQuery: function(query, parameters) {
var SQLString = 'UPDATE ';
var SQLString = 'UPDATE '
, updates = [];

@@ -140,5 +141,7 @@ // from

parameters[id] = query.values[key];
SQLString += this._escapeId(key)+' = ?'+id+' ';
updates.push(this._escapeId(key)+' = ?'+id);
}.bind(this));
SQLString += updates.join(', ') +' ';
// render filter (where statement)

@@ -145,0 +148,0 @@ SQLString += ' WHERE ' + (this._renderFilter(parameters, query.filter || {}) || 1);

{
"name" : "ee-query-builder"
, "description" : "query builder for ee-orm"
, "version" : "0.1.8"
, "version" : "0.1.9"
, "homepage" : "https://github.com/eventEmitter/ee-query-builder"

@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

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