knex-postgres-transactional-upsert

JSON →
library 0.1.1 ·javascript
verified Jun 5, 2026

Utility for performing transactional upserts (INSERT ... ON CONFLICT DO UPDATE) in PostgreSQL via Knex. Current version 0.1.1, no recent updates. Provides two functions: upsert (single row, no transaction) and transactionalUpsert (batch rows with transaction). Lightweight wrapper; no active maintenance. Differentiated by focusing solely on PostgreSQL upsert with a simple API and configurable batch size.