Comparing version 0.5.28 to 0.5.29
@@ -58,4 +58,3 @@ 'use strict'; | ||
if (_lodash2.default.isFunction(rowOrPk)) { | ||
var row = rowOrPk; | ||
index = row(right.field); | ||
index = _rethinkdb2.default.branch(rowOrPk.typeOf().eq('STRING'), rowOrPk, rowOrPk(right.field)); | ||
} else { | ||
@@ -133,4 +132,3 @@ var pk = rowOrPk; | ||
if (_lodash2.default.isFunction(rowOrPk)) { | ||
var row = rowOrPk; | ||
index = row(left.field); | ||
index = _rethinkdb2.default.branch(rowOrPk.typeOf().eq('STRING'), rowOrPk, rowOrPk(left.field)); | ||
} else { | ||
@@ -210,4 +208,3 @@ var pk = rowOrPk; | ||
if (_lodash2.default.isFunction(rowOrPk)) { | ||
var row = rowOrPk; | ||
index = row(right.field); | ||
index = _rethinkdb2.default.branch(rowOrPk.typeOf().eq('STRING'), rowOrPk, rowOrPk(right.field)); | ||
} else { | ||
@@ -301,4 +298,3 @@ var pk = rowOrPk; | ||
if (_lodash2.default.isFunction(rowOrPk)) { | ||
var row = rowOrPk; | ||
index = row(link1.right.field); | ||
index = _rethinkdb2.default.branch(rowOrPk.typeOf().eq('STRING'), rowOrPk, rowOrPk(link1.right.field)); | ||
} else { | ||
@@ -305,0 +301,0 @@ var pk = rowOrPk; |
{ | ||
"name": "nothinkdb", | ||
"version": "0.5.28", | ||
"version": "0.5.29", | ||
"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
39855
951