개발 기록
mongoDB object 검색 본문
https://koonsland.tistory.com/120
[MongoDB] 검색(2): Array 또는 Object 검색 방법
앞선 포스팅에서 MongoDB의 Document를 찾는 방법을 알아보았습니다. 2021.03.13 - [쿤즈 Server/MongoDB] - [MongoDB] Atlas 명령어 연결 및 find() 검색기능 사용방법 [MongoDB] Atlas 명령어 연결 및 find() 검색기능 사
koonsland.tistory.com
{
"_id" : ObjectId("61e93974a9b44"),
"summary" : {
"errCnt" : 0,
"successCnt" : 2,
"reqCnt" : 2
}
}
db.getCollection('record').find({"summary.reqCnt":2}
'TIL' 카테고리의 다른 글
docker 컨테이너 ip 확인 (0) | 2024.03.15 |
---|---|
quartz job parameters processor에서 사용 (0) | 2024.02.22 |
Cannot change the ExecutorType when there is an existing transaction (0) | 2024.02.13 |
Table 'tableName_seq' doesn't exist, @Slf4j cannot find symbol (0) | 2023.02.17 |
20221128 JVM의 메모리 모델 (0) | 2022.11.28 |
Comments