mongodb基本操作命令

1、列出数据库
show dbs

2、使用 template 库
use template

3、列出数据表
show collections

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

想了解更多关于mongodb基本操作命令的内容,关注我们!

评论 抢沙发
加载中~