Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var p=r.connect(options);
- p.then(function(connection){
- return r.table('sometable').get("some_uuid").run(connection)
- }).then(function(res){
- //do stuff with res
- }).then(
- //Here's where I'm lost. How would I get the connection?
- //I'd like to do something like r.table('othertable').getAll(...)
- ).error(console.log)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement