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

mg-dbop

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

mg-dbop - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

classSQLFileRunner.js

6

index.js

@@ -10,2 +10,3 @@ /**

const dbOp = require("./dbOp");
const classSQLFileRunner = require("./classSQLFileRunner");

@@ -29,2 +30,7 @@ class dbOpMysql {

async execSqlFile(dbConn, filename, options){
const ob = new classSQLFileRunner(dbConn, options);
await ob.doFile(filename);
}
clearCache() {

@@ -31,0 +37,0 @@ this.tableDescCache = {};

2

package.json
{
"name": "mg-dbop",
"private" : false,
"version": "0.0.15",
"version": "0.0.16",
"homepage": "https://github.com/MacLaurinGroup/dbOp",

@@ -6,0 +6,0 @@ "description": "Query builder, and validator, for MySQL and node that utilizes the underlying table to provide a level of checking",

@@ -131,2 +131,3 @@ ## dbOp

* .convertBlankToNull(data,fieldArray) // converts any blank fields to pure null
* .execSqlFile( dbConn, filename, options ) // runs a file of SQL statements against the dbConn; options { delimiter : "" | "per-line"}

@@ -261,2 +262,4 @@ This method returns the last SQL result from an INSERT/UPDATE

* 2019-04-23
* Added ability to process a file of SQL statements
* 2019-04-16

@@ -263,0 +266,0 @@ * Removed console output

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