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 c7840ff 4.6 KB Updated

File contents

electric-sql/electric commit c7840ff58e

Frequently asked questions

npx skillmds@latest add electric-sql/electric-orm