Update db.(컬렉션이름).updateOne(); db.(컬렉션이름).updateMany(); 연산자 $inc $set $push updateOne 주어진 기준에 맞는 다수의 Document 중 첫번째 Document 하나만 업데이트 findOne을 사용해 쿼리문에 맞는 첫 번째 Document를 리턴하는 예시와 같이 updateOne또한 주어진 기준에 맞는 다수의 Document가 있을 때 첫 번째 Document 하나를 업데이트 합니다. updateMany 쿼리문과 일치하는 모든 Document 업데이트 ex) 예시 작업에 대한 응답을 살펴보기 위해서는 matchedCount와 modifiedCount로 나뉩니다. matchedCount: 조건을 충족하는 Document의 수를 의미합니다. modifiedCount: $inc를 통해 수정된