{"library":"knex-postgres-transactional-upsert","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.1","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install knex-postgres-transactional-upsert","imports":["const getUpserters = require('knex-postgres-transactional-upsert');","const upserters = require('knex-postgres-transactional-upsert')(knex); upserters.upsert('table', id, data);","upserters.transactionalUpsert('table', rows, typeMap, primaryKey);"]},{"cmd":"yarn add knex-postgres-transactional-upsert","imports":[]},{"cmd":"pnpm add knex-postgres-transactional-upsert","imports":[]}],"homepage":"https://github.com/synapsestudios/knex-postgres-transactional-upsert#readme","github":"https://github.com/synapsestudios/knex-postgres-transactional-upsert","docs":null,"changelog":null,"pypi":null,"npm":"knex-postgres-transactional-upsert","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}