mongodb基本操作命令

1、列出数据库
show dbs

2、使用 template 库
use template

3、列出数据表
show collections

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

评论

暂无评论