With Computer
-
[mongoDB] 기본적인 CRUD OperationsWith Computer/DataBase 2019. 10. 27. 17:19
===========10/15============ [ON] 서버 mongod --dbpath c:/myDB[디렉토리명] 클라이언트 mongo ---------------------------- [OFF] *강제종료시 데이터 날라감 서버 클라이언트 use admin db.shutdownServer() quit() ============================ use [db명] ---------------------------- db.people[collection명].insertOne({user_id:'abc123',age:55,status:'A'}) ---------------------------- db.people.find() ---------------------------- db.dept...