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

orma

Package Overview
Dependencies
Maintainers
2
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orma - npm Package Compare versions

Comparing version 1.0.70 to 1.0.71

3

build/query/json_sql.js

@@ -124,2 +124,5 @@ "use strict";

$sum: args => `SUM(${args})`,
$min: args => `MIN(${args})`,
$max: args => `MAX(${args})`,
$coalesce: args => `COALESCE(${args.join(', ')})`,
// mutations

@@ -126,0 +129,0 @@ $insert_into: ([table_name, [...columns]]) => `INSERT INTO ${table_name} (${columns.join(', ')})`,

10

build/types/query/query_types.d.ts

@@ -26,4 +26,10 @@ import { Pluck } from '../helper_types';

export declare type Expression<Schema extends OrmaSchema, Entity extends GetAllEntities<Schema>> = {
$sum: GetFields<Schema, Entity>;
};
$sum: Expression<Schema, Entity>;
} | {
$min: Expression<Schema, Entity>;
} | {
$max: Expression<Schema, Entity>;
} | {
$coalesce: Expression<Schema, Entity>;
} | GetFields<Schema, Entity>;
export declare type PaginationObj = {

@@ -30,0 +36,0 @@ $limit?: number;

{
"name": "orma",
"version": "1.0.70",
"version": "1.0.71",
"description": "A declarative relational syncronous orm",

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

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