Skip to content

Instantly share code, notes, and snippets.

@jakcharlton
Created December 12, 2013 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakcharlton/7937470 to your computer and use it in GitHub Desktop.
Save jakcharlton/7937470 to your computer and use it in GitHub Desktop.
eqJoin with missing key in RethinkDB
r.db("user1").table("others").filter(function(user) {
return user.hasFields('contact_id')
}).eqJoin("contact_id", r.db("user1").table("contacts"))
@jakcharlton
Copy link
Author

@jakcharlton
Copy link
Author

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