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

Instruction

Retrieve Records

In this step, you will learn how to perform read operations on your database tables using Sequelize's data retrieval methods, which query data from the database.

We'll start with finder methods that search for one specific element in the database. At this point, feel free to add more 'Movie' and 'People' records to your database.

findByPk()

The method findByPk() (or 'find by pri...