Comparing version 0.5.20 to 0.5.21
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37119
786