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

nothinkdb

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nothinkdb - npm Package Compare versions

Comparing version 0.5.20 to 0.5.21

4

lib/relations.js

@@ -262,3 +262,5 @@ /* eslint no-shadow: 0 */

var relatedRowsQuery = link2.right.table.query().getAll(_rethinkdb2['default'].args(targetIdsQuery), { index: link2.right.field });
var relatedRowsQuery = targetIdsQuery['do'](function (targetIds) {
return _rethinkdb2['default'].branch(targetIds.count().gt(0), link2.right.table.query().getAll(_rethinkdb2['default'].args(targetIds), { index: link2.right.field }), _rethinkdb2['default'].expr([]));
});

@@ -265,0 +267,0 @@ return _rethinkdb2['default'].branch(row(link1.right.field), relatedRowsQuery, _rethinkdb2['default'].expr([]));

{
"name": "nothinkdb",
"version": "0.5.20",
"version": "0.5.21",
"description": "Functional toolkit for rethinkdb",

@@ -5,0 +5,0 @@ "main": "lib/nothinkdb.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