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

sql-query

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sql-query - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

5

lib/Select.js

@@ -222,6 +222,3 @@ var Where = require("./Where");

if (sql.found_rows) {
tmp.unshift("SQL_CALC_FOUND_ROWS");
if (tmp.length == 1) {
tmp.push("*");
}
query.push("SQL_CALC_FOUND_ROWS");
}

@@ -228,0 +225,0 @@

2

package.json

@@ -9,3 +9,3 @@ {

],
"version": "0.0.24",
"version": "0.0.25",
"license": "MIT",

@@ -12,0 +12,0 @@ "repository": {

@@ -26,3 +26,3 @@ var common = require('../common');

common.Select().calculateFoundRows().from('table1').build(),
"SELECT SQL_CALC_FOUND_ROWS, * FROM `table1`"
"SELECT SQL_CALC_FOUND_ROWS * FROM `table1`"
);

@@ -32,3 +32,3 @@

common.Select().calculateFoundRows().from('table1').select('id').build(),
"SELECT SQL_CALC_FOUND_ROWS, `id` FROM `table1`"
"SELECT SQL_CALC_FOUND_ROWS `id` FROM `table1`"
);

@@ -35,0 +35,0 @@

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