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
Использование

После установки вы можете использовать этот skill, выполнив следующую команду в терминале:

skills use mongodb-query-patterns