Writing raw SQL directly inside your Node.js application can quickly become messy, hard to maintain, and dangerous if you’re not careful. This chapter shows you how to use Sequelize, an Object-Relational Mapper (ORM), to connect your JavaScript code to a PostgreSQL database in a clean, safe way.