IniziaInizia gratis

Writing MongoDB queries

Questo esercizio fa parte del corso

Text-to-Query Agents with MongoDB and LangGraph

Visualizza il corso

Istruzioni dell'esercizio

  • Access the sample_mflix database from your mongodb_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 1930 AND with IMDB ratings greater than or equal to 8.


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.


Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio