Skip to content

Instantly share code, notes, and snippets.

@jakcharlton

jakcharlton/join.js

Created Dec 23, 2013
Embed
What would you like to do?
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