home/categories/nosql-databases/9tykeshav-mern-ninja-cc-skills-mongodb-query-patterns-skill-md
nosql-databasesdatabases

mongodb-query-patterns

Use when writing ANY Mongoose query (.find, .findOne, .findById, .aggregate, .populate), adding database operations to services or controllers, wiring data between services, building endpoints that read or write to MongoDB, or reviewing code that chains service calls. TRIGGER especially when about to write a new findById or pass an ID where a document could be passed instead.

9tykeshav
maintainer
9tykeshav
업데이트됨 3/1/2026
스타
7
포크
0
quick start

Installation and usage

Use when writing ANY Mongoose query (.find, .findOne, .findById, .aggregate, .populate), adding database operations to services or controllers, wiring data between services, building endpoints that read or write to MongoDB, or reviewing code that chains service calls. TRIGGER especially when about to write a new findById or pass an ID where a document could be passed instead.

설치
$ install --globalskills.sh
사용법

설치 후 터미널에서 다음 명령을 실행하여 이 스킬을 사용할 수 있습니다:

skills use mongodb-query-patterns