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

js-data-rethinkdb

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-data-rethinkdb - npm Package Compare versions

Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5

5

CHANGELOG.md

@@ -0,1 +1,6 @@

##### 1.0.0-alpha.5 - 28 November 2014
###### Backwards compatible API changes
- Added isectEmpty, isectNotEmpty, |isectEmpty, and |isectNotEmpty filter operators.
##### 1.0.0-alpha.4 - 23 November 2014

@@ -2,0 +7,0 @@

4

package.json
{
"name": "js-data-rethinkdb",
"description": "RethinkDB adapter for js-data.",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"homepage": "http://www.js-data.io/docs/dsrethinkdbadapter",

@@ -45,3 +45,3 @@ "repository": {

"dependencies": {
"js-data": "^1.0.0-alpha.5-1",
"js-data": "^1.0.0-alpha.5-4",
"mout": "0.11.0",

@@ -48,0 +48,0 @@ "rethinkdbdash": "^1.15.x"

@@ -80,2 +80,6 @@ var rethinkdbdash = require('rethinkdbdash');

subQuery = subQuery ? subQuery.and(row(field).default(null).le(v)) : row(field).default(null).le(v);
} else if (op === 'isectEmpty') {
subQuery = subQuery ? subQuery.and(row(field).default([]).setIntersection(r.expr(v).default([])).count().eq(0)) : row(field).default([]).setIntersection(r.expr(v).default([])).count().eq(0);
} else if (op === 'isectNotEmpty') {
subQuery = subQuery ? subQuery.and(row(field).default([]).setIntersection(r.expr(v).default([])).count().ne(0)) : row(field).default([]).setIntersection(r.expr(v).default([])).count().ne(0);
} else if (op === 'in') {

@@ -97,2 +101,6 @@ subQuery = subQuery ? subQuery.and(r.expr(v).default(r.expr([])).contains(row(field).default(null))) : r.expr(v).default(r.expr([])).contains(row(field).default(null));

subQuery = subQuery ? subQuery.or(row(field).default(null).le(v)) : row(field).default(null).le(v);
} else if (op === '|isectEmpty') {
subQuery = subQuery ? subQuery.or(row(field).default([]).setIntersection(r.expr(v).default([])).count().eq(0)) : row(field).default([]).setIntersection(r.expr(v).default([])).count().eq(0);
} else if (op === '|isectNotEmpty') {
subQuery = subQuery ? subQuery.or(row(field).default([]).setIntersection(r.expr(v).default([])).count().ne(0)) : row(field).default([]).setIntersection(r.expr(v).default([])).count().ne(0);
} else if (op === '|in') {

@@ -99,0 +107,0 @@ subQuery = subQuery ? subQuery.or(r.expr(v).default(r.expr([])).contains(row(field).default(null))) : r.expr(v).default(r.expr([])).contains(row(field).default(null));

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