Created
July 7, 2016 22:26
-
-
Save yeehaa123/35a59fea81efd6af8a45110f6fc87428 to your computer and use it in GitHub Desktop.
This file contains hidden or 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('offcourse').table('bookmarks') | |
.innerJoin(r.db('offcourse').table('resources'), function(bm, rs) { | |
return bm('url').eq(rs('url')) | |
}).map(function(j) {return j('left') | |
.merge({'keywords': j('right')('keywords') | |
.map(function(kw){ return kw('name')})})}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment