摘要: db.xs.insert({name:zhangsan}) db:当前数据库 xs:学生集合(没有的话自动创建) show collections 显示当前数据库的集合名字 show dbs 显示当前数据库名字 db.getName() 显示当前数据库名字 db.getCollectionNames 阅读全文
posted @ 2019-04-01 16:21 0123wtdd 阅读(353) 评论(0) 推荐(0) 编辑