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

@akylas/kiss-orm

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akylas/kiss-orm - npm Package Compare versions

Comparing version 2.1.10 to 2.1.11

3

dist/Repositories/CrudRepository.d.ts

@@ -26,6 +26,7 @@ import DatabaseInterface from '../Databases/DatabaseInterface';

}): Promise<Model>;
search({ from, postfix, where, orderBy, select }?: {
search({ from, postfix, where, groupBy, orderBy, select }?: {
from?: SqlQuery;
postfix?: SqlQuery;
where?: SqlQuery;
groupBy?: SqlQuery;
orderBy?: SqlQuery;

@@ -32,0 +33,0 @@ select?: SqlQuery;

@@ -39,3 +39,3 @@ import NotFoundError from '../Errors/NotFoundError';

}
async search({ from, postfix, where, orderBy, select } = {}) {
async search({ from, postfix, where, groupBy, orderBy, select } = {}) {
const filters = [];

@@ -52,2 +52,4 @@ if (this.scope) {

? sql `ORDER BY ${orderBy}` : sql ``;
const groupByClause = groupBy
? sql `GROUP BY ${groupBy}` : sql ``;
const postfixClause = postfix

@@ -63,2 +65,3 @@ ? sql `${postfix}` : sql ``;

${whereClause}
${groupByClause}
${orderByClause}

@@ -65,0 +68,0 @@ `);

@@ -8,3 +8,3 @@ {

"author": "Sébastien Caparros",
"version": "2.1.10",
"version": "2.1.11",
"engines": {

@@ -11,0 +11,0 @@ "node": ">= 12.0.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