Difference between revisions of "AGGREGATE Movie tutorial"
From NoSQLZoo
(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" }} ])...") |
(→Alien) |
||
Line 3: | Line 3: | ||
Use aggregate to show details of the movie "Alien" | Use aggregate to show details of the movie "Alien" | ||
<pre class=def> | <pre class=def> | ||
− | db. | + | db.movies.aggregate([ |
{$match:{ | {$match:{ | ||
title:"Alien" | title:"Alien" |
Revision as of 22:02, 11 May 2017
Alien
Use aggregate to show details of the movie "Alien"
db.movies.aggregate([ {$match:{ title:"Alien" }} ])
db.movie.aggregate([
{$match:{ title:"Alien" }}
])