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

Instruction

Update a Record

You're halfway done with learning CRUD operations. You've created and read rows of data. In this step, you will work on updating records.

A movie in the database just released a VHS collector's edition and you need to update its isAvailableOnVHS value from false to true. Before updating a record, you first need to find it, which you already know how to do.

Use findByPk() to Fin...