1、列出数据库
show dbs
2、使用 template 库
use template
3、列出数据表
show collections
4、查看templates表的数据
db.templates.find().pretty();
想了解更多关于mongodb基本操作命令的内容,请扫微信
或微信搜索jiemingpan
本文链接:http://www.soufuzi.com/jianzhan/3119