关于mongodb:mongodb基本操作命令

3次阅读

共计 106 个字符,预计需要花费 1 分钟才能阅读完成。

1、列出数据库
show dbs

2、应用 template 库
use template

3、列出数据表
show collections

4、查看 templates 表的数据
db.templates.find().pretty();

正文完
 0