Skip to main content
Read more about upserting to Postgres. You’ll be processing Sequin records in your application code. A record has this shape:
See below for examples on upserting Sequin records to Postgres in popular JavaScript database clients and ORMs:
According to its website, Drizzle is a modern, lightweight ORM for Node.js and TypeScript. It provides a simple and intuitive way to interact with databases, including PostgreSQL.To perform an upsert using Drizzle, you can use Drizzle’s query builder with its onConflictDoUpdate method. Here’s an example: