win+R打开数据库操作

show dbs;                  #查看全部数据库

use Landlords     #Landlords 是数据库名称

show collections;          #显示当前数据库中的集合(类似关系数据库中的表)

db.UserInfo.find();      #UserInfo是collections的名称,也就是表的名称

mongodb基本数据库操作

相关文章:

  • 2021-12-06
  • 2021-12-06
  • 2021-10-08
  • 2021-11-21
  • 2022-02-02
  • 2021-05-19
  • 2022-12-23
  • 2021-08-01
猜你喜欢
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案