mongodb基本操作(CRUD)

本文最主要參考: http://www.runoob.com/mongodb/mongodb-query.html 好,下面上貨 1、先進到MongoDB的shell中 mongo ip:port mongo 192.168.0.123:27017 在mongo下進行清屏是cls命令。 2、查看當前有哪些數據庫 show dbs 3、嘗試增加數據: db.xytest.user.insert({"
相關文章
相關標籤/搜索