drizzle-pgmem

JSON →
library 0.6.2 ·javascript
verified Jun 4, 2026

Tiny utilities (v0.6.2) that smooth integration of Drizzle ORM with pg-mem for fast in-memory testing. Applies permanent shims for rowMode and getTypeParser, plus optional integrations like arrayRowToObject, countToValue, and randomFunctionPolyfill. Declared stable with deterministic alphabetical integration ordering and idempotent application. Unlike manual shimming, drizzle-pgmem is tested against the specific versions of Drizzle and pg-mem it targets, and provides a simple API to enable/disable integrations. Requires Node >=18 and peer dependencies drizzle-orm and pg-mem.