MongoDB - Document Query(조회) - (1)
Database/MongoDB

💡 MongoDB 공식 문서를 참고해서 작성하였다. 참고 : https://docs.mongodb.com/manual/tutorial/query-documents/ Query Documents 주어지는 예시를 통해서 db.collection.find() method를 mongosh에서 실행할 것이다. 일단 insertMany()를 통해 inventory라는 collection에 document들을 추가한다. db.inventory.insertMany([ { item: "journal", qty: 25, size: { h: 14, w: 21, uom: "cm" }, status: "A" }, { item: "notebook", qty: 50, size: { h: 8.5, w: 11, uom: "in" },..