mongodb基本數據庫操作

win+R打開數據庫操作 show dbs; #查看全部數據庫 use Landlords #Landlords 是數據庫名稱 show collections; #顯示當前數據庫中的集合(類似關係數據庫中的表) db.UserInfo.find();      #UserInfo是collections的名稱,也就是表的名稱
相關文章
相關標籤/搜索