首页 > 数据库 > > rethinkdb的dataexplorer查询使用
首先安装rethinkdb(只有linux和mac能够安装)
$ sudo apt-get install rethinkdb
然后启动:
$ rethinkdb
此时8080端口就可以访问本机的数据库了
http://127.0.0.1:8080
Web 界面还提供了 Data Explorer 在线查询工具,支持语法高亮、在线函数提示等,不用额外查帮助文件。
使用示例:
0.列出所有的数据库
r.dbList()
1.列出数据库rethinkdb下所有表
r.db('rethinkdb').tableList()
2.列出jobs表下面的内容
r.db('rethinkdb').table('jobs')
转载于:https://www.cnblogs.com/yaoliang11/p/4535331.html
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70000523/viewspace-3123160/ ,如需转载,请注明出处,否则将追究法律责任。
注册时间:2022-02-22