Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jakcharlton
Created December 23, 2013 00:46
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/8090280 to your computer and use it in GitHub Desktop.
Save jakcharlton/8090280 to your computer and use it in GitHub Desktop.
RethinkDB join against nested ID
r.db('master').table("machines").eqJoin(function(machine) { return machine("machine_memberships")("user_id") }, r.db('master').table("users")).zip()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment