mongoDB基础操做,对表的经常使用操做

1.选择数据库数据库 use 数据库名spa 2.查看当前数据库下全部表ip show collections rem 3.建立数据表it db.createCollection("stuDemo") io 4.修改数据表名date db.stuDemo.renameCollection("studentTest") im 5.添加数据(注:该语句执行成功以后没有任何提示信息)数据 db.stud
相关文章
相关标签/搜索