NoBrainerORM / nobrainer

Ruby ORM for RethinkDB
http://nobrainer.io/
Other
387 stars 49 forks source link

How to get list of databases (r.dbList) #256

Closed sayuj closed 4 years ago

sayuj commented 4 years ago

RethinkDB provides r.dbList() function to get list of databases.

What is the NoBrainer API to get list of databases?

nviennot commented 4 years ago

NoBrainer.run { |r| r.db_list() } or shorter: NoBrainer.run(&:db_list)