Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.


Retrieve Data with findAll()

In this stage, we'll start to retrieve related movie data.

Towards the end of the try block in the app.js file, we use the Movie findAll() method to retrieve the movie and person data from the database:

try {
  // Code removed for brevity's sake...

  // Retrieve movies
  const movies = await Movie.findAll();
  console.log(movies.map(movie => movie.get({ plain:...