Electric Orm

Use Electric with Drizzle ORM or Prisma for the write path. Covers getting pg_current_xact_id() from ORM transactions using Drizzle tx.execute(sql) and Prisma $queryRaw, running migrations that preserve REPLICA IDENTITY FULL, and schema management patterns compatible with Electric shapes. Load when using Drizzle or Prisma alongside Electric for writes.

electric-sql Updated 10.4k repo stars

File contents

electric-sql/electric commit c7840ff58e

Frequently asked questions

npx get-skill add electric-sql/electric-orm