Cookies help us deliver our services. By using our services, you agree to our use of cookies. More information

AGGREGATE Movies Tutorial

From NoSQLZoo
Revision as of 00:22, 15 October 2016 by Andr3w (talk | contribs) (Created page with "==Investigating the Movie Database== The movie database includes thousands of movies with documents such as: ==Casablanca== <div class=q data-lang="mongo"> Show the details o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Investigating the Movie Database

The movie database includes thousands of movies with documents such as:

Casablanca

Show the details of the movie Casablanca

db.world.aggregate([
    {$match:{
        title:'Casablanca'
    }},
])

db.world.aggregate([

   {$match:{
       title:'Casablanca'
   }},

])