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

sqlquerybuilder

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlquerybuilder - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

4

lib/pagingAndLists.js

@@ -22,4 +22,4 @@ module.exports = function pagingAndLists(self) {

}
if (reqquery.sidx && reqquery.sord) {
self.orderBy(reqquery.sidx || defaultSort, reqquery.sord);
if (reqquery.sidx || defaultSort) {
self.orderBy(reqquery.sidx || defaultSort, reqquery.sord || "desc");
}

@@ -26,0 +26,0 @@ if (reqquery.rows) {

{
"name": "sqlquerybuilder",
"version": "0.0.27",
"version": "0.0.28",
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.",

@@ -5,0 +5,0 @@ "main": "./lib/index",

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