자주 쓰는 mongoose method
2021. 3. 29. 17:58ㆍMongo DB
db.collection.distinct(field, query, options)
Finds the distinct values for a specified field across a single collection or view and returns the results in an array.
'Mongo DB' 카테고리의 다른 글
MongoDB 빠른 페이지네이션 찾자 (0) | 2022.01.03 |
---|---|
MongoDB, CRUD 적용해보기! (1) | 2021.02.15 |
Mongo DB , NoSQL 시작하기! Step 1 (0) | 2021.02.08 |