Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map after dbList() and tableList() #370

Closed
neumino opened this issue Feb 21, 2013 · 3 comments
Closed

Map after dbList() and tableList() #370

neumino opened this issue Feb 21, 2013 · 3 comments
Assignees
Labels
Milestone

Comments

@neumino
Copy link
Member

neumino commented Feb 21, 2013

I don't know if this issue is solve in 1.4, but currently this query fails

r.dbList().map( function(db) {
  return {
    db: db,
    tables: r.db(db).tableList()
  }
}).run()

with this error

TypeError: Object #<vc> has no method 'map'

It looks like it's the same for tableList(). I cannot use a map after tableList()

@coffeemug
Copy link
Contributor

This now definitely works for table_list. I'll test for db_list and report.

@ghost ghost assigned coffeemug Mar 20, 2013
coffeemug pushed a commit that referenced this issue Apr 10, 2013
@coffeemug
Copy link
Contributor

This is in internal code review 364.

@coffeemug
Copy link
Contributor

Merged to next, reviewed via internal code review 364.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants