Skip to main content

mongodb

Manage MongoDB databases via the mongosh tool.

Quellinformationen

Repository
olasunkanmi-SE/codebuddy
Letzte Quellaktivität
8. März 2026 um 03:01
Erkannte Sprache von SKILL.md
Englisch
Sterne
141
Forks
44

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
mongodb
description
Manage MongoDB databases via the mongosh tool.
metadata
{"displayName":"MongoDB","icon":"database","category":"databases","version":"1.0.0","dependencies":{"cli":"mongosh","checkCommand":"mongosh --version","install":{"darwin":"[Truncated]","linux":"[Truncated]","windows":"[Truncated]"}},"config":[{"name":"MONGODB_URI","label":"Connection URI","type":"string","required":false,"placeholder":"mongodb://localhost:27017"}],"auth":{"type":"none"}}
# mongosh Use `mongosh` to interact with MongoDB databases. ## Common Commands ### Connection - Connect: `mongosh "mongodb://user:password@host:port/dbname"` ### Operations - Show databases: `show dbs` - Use database: `use <dbname>` - Show collections: `show collections` - Find documents: `db.collection.find().limit(5)` - Insert document: `db.collection.insertOne({ key: "value" })` - Quit: `exit` ## Notes - Requires `mongosh` to be installed in the environment.
Auf GitHub ansehen