Skip to content

kh-sohan/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Created a database moviesDB
  2. Created a collection called movies fron given csv file
  3. created another collection called genres by extracting the genres from the csv
  4. Created an aggregated relationship between the two using : db.movies.aggregate([ ... { ... $lookup: { ... from: 'genres', ... localField: 'Genre', ... foreignField: 'Name', ... as: 'Genre' ... } ... } ... , ... { ... $out: 'movies' ... } ... ])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published