Created
December 12, 2013 23:29
-
-
Save jakcharlton/7937470 to your computer and use it in GitHub Desktop.
eqJoin with missing key in RethinkDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r.db("user1").table("others").filter(function(user) { | |
return user.hasFields('contact_id') | |
}).eqJoin("contact_id", r.db("user1").table("contacts")) |
r.db("user1").table("others").hasFields('contact_id').eqJoin("contact_id", r.db("user1").table("contacts"))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rethinkdb/rethinkdb#1764