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

AGGREGATE Movie tutorial

From NoSQLZoo
Revision as of 21:59, 11 May 2017 by Andr3w (talk | contribs) (Created page with "==Alien== <div class=q data-lang="mongo"> Use aggregate to show details of the movie "Alien" <pre class=def> db.movie.aggregate([ {$match:{ title:"Alien" }} ])...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Alien

Use aggregate to show details of the movie "Alien"

db.movie.aggregate([
    {$match:{
        title:"Alien"
    }}
])

db.movie.aggregate([

   {$match:{
       title:"Alien"
   }}

])