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

mysql-simple-query

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-simple-query - npm Package Compare versions

Comparing version 1.0.18 to 1.0.19

14

lib/mysqlSimpleQuery.js

@@ -63,3 +63,7 @@ const dbQuery = require('./util/dbQuery');

whereBetween(key, array) {
whereBetween(key, array, condition) {
if (condition) {
this.whereLikeCondition = condition;
}
this.whereBetweenStatement[key] = array;

@@ -93,4 +97,10 @@ }

parseWhereBetween() {
let whereInStatementUsed = false;
if (!isEmpty(this.whereInStatement)) {
whereInStatementUsed = true;
}
if (!isEmpty(this.whereBetweenStatement)) {
return dbQuery.parseWhereBetween(this.whereBetweenStatement, this.whereConditionUsed);
return dbQuery.parseWhereBetween(this.whereBetweenStatement, whereInStatementUsed);
}

@@ -97,0 +107,0 @@

2

package.json
{
"name": "mysql-simple-query",
"version": "1.0.18",
"version": "1.0.19",
"description": "Simple query wrapper for mysql-promise to make querying, inserting, updating, and deleting easier for developers.",

@@ -5,0 +5,0 @@ "main": "mysqlSimpleQuery.js",

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