Skip to content

Instantly share code, notes, and snippets.

@neumino
Created January 6, 2014 16:19
Show Gist options
  • Save neumino/8285249 to your computer and use it in GitHub Desktop.
Save neumino/8285249 to your computer and use it in GitHub Desktop.
Ohmanous - Twitter - 2013.01.06
r.table("t1").eqJoin(
function(doc) { return doc("a")("b"); },
r.table("t2")
).map( function(left, right) {
return left.merge({
a: {
b: right
}
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment