mongodb基本操作命令

1、列出数据库
show dbs

2、使用 template 库
use template

3、列出数据表
show collections

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

作者:diyxiaoshitou原文地址:https://segmentfault.com/a/1190000042675506

%s 个评论

要回复文章请先登录注册