컴퓨터
mongodb 몽고DB not 검색
sayyesdoit
2019. 9. 8. 16:19
조건을 만족하지 않는 결과를 검색하고자 할 때는 $not 쿼리를 사용하면 된다.
db.컬렉션이름.find({number: {$not: {$lt: 10}}})