Writing MongoDB queries
Cet exercice fait partie du cours
Text-to-Query Agents with MongoDB and LangGraph
Instructions
- Access the
sample_mflixdatabase from yourmongodb_client, and list the collection it contains. - Subset the
"movies"collection and preview a sample document. - Filter the collection for movies released before
1905. - Filter the collection for movies released before
1930AND with IMDB ratings greater than or equal to8.
Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice