MonkeyBonkey
MonkeyBonkey

Reputation: 47871

With rethinkdb, how to use the "use" database command in the data explorer dashboard

How can I set the default database to something other than 'test' in the RethinkDb data explorer dashboard?

I tried using the command conn.use('mydb') but is says conn is not defined.

Upvotes: 0

Views: 458

Answers (1)

Tholle
Tholle

Reputation: 112787

Setting a default database in the data explorer is currently not implemented, but you can check or bump this for progress on the issue.

You have to give it explicitly:

r.db('mydb').table('mytable') ...

Upvotes: 3

Related Questions