waiyaki / postgres-express-node-tutorial

Repository hosting code for the "Getting Started With NodeJS, Express and Postgres Using Sequelize" blogpost.
MIT License
278 stars 103 forks source link

".all() is not a function” error #14

Open cwveysey opened 2 years ago

cwveysey commented 2 years ago

Regarding the server/controllers/todos.js snippet in the Listing todos section, “.all()” should be replaced with “.findAll()” - at least that resolved my “.all() is not a function” error.