列出所有数据库
r.connect({host: 'localhost', port: 28015})
.then((conn) => {
return r.dbList().run(conn);
}).then((result) => {
// Prints out list of databases on the RethinkDB instance
console.log(result);
});
r.connect({host: 'localhost', port: 28015})
.then((conn) => {
return r.dbList().run(conn);
}).then((result) => {
// Prints out list of databases on the RethinkDB instance
console.log(result);
});