Socket
Socket
Sign inDemoInstall

sqrolls

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

6

dist/update.js

@@ -39,4 +39,6 @@ "use strict";

toSQL() {
let stmt = 'UPDATE ' + this.table + ' SET ';
stmt += this.updates.map(u => `${u.field} = ?`).join(', ');
let stmt = 'UPDATE ' + this.table;
if (this.updates.length > 0) {
stmt += ' SET ' + this.updates.map(u => `${u.field} = ?`).join(', ');
}
const args = this.updates.map(u => u.arg);

@@ -43,0 +45,0 @@ if (this.predicates.length > 0) {

{
"name": "sqrolls",
"version": "0.1.0",
"version": "0.1.1",
"description": "sql builder library",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc