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

mysql-activerecord

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql-activerecord - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

10

index.js

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

groupByClause = '',
havingClause = '',
limitClause = -1,

@@ -78,2 +79,3 @@ offsetClause = -1,

groupByClause = '';
havingClause = '',
limitClause = -1;

@@ -258,2 +260,7 @@ offsetClause = -1;

this.having = function(set) {
havingClause = this.comma_seperated_arguments(set);
return that;
};
this.order_by = function(set) {

@@ -357,2 +364,3 @@ orderByClause = this.comma_separated_arguments(set);

+ (groupByClause !== '' ? ' GROUP BY ' + groupByClause : '')
+ (havingClause !== '' ? ' HAVING ' + havingClause : '')
+ (orderByClause !== '' ? ' ORDER BY ' + orderByClause : '')

@@ -443,2 +451,2 @@ + (limitClause !== -1 ? ' LIMIT ' + limitClause : '')

return this;
}
}

2

package.json
{
"name" : "mysql-activerecord",
"version": "0.8.1",
"version": "0.8.2",
"author": "Martin Tajur <martin@tajur.ee>",

@@ -5,0 +5,0 @@ "description": "MySQL ActiveRecord pattern implementation on top of the mysql module.",

@@ -52,2 +52,3 @@ MySQL ActiveRecord Adapter for Node.js

* COUNT
* HAVING

@@ -54,0 +55,0 @@ Methods

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