{"library":"pg-chain","type":"library","category":null,"description":"pg-chain is a chainable SQL query builder for PostgreSQL in Node.js, using tagged template literals to construct SQL statements. Version 1.1.3 is the current stable release, with no frequent update cadence documented. It provides methods like SELECT, INSERT_INTO, UPDATE, DELETE_FROM, WITH_RECURSIVE, etc., that return chainable objects. Differentiators include no external dependencies, TypeScript type definitions included, and support for both .toSql() output and direct use with the pg library via .text and .values properties. It is designed for simplicity and composability, allowing reusable conditionals for pagination.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-chain","imports":["import { SELECT } from 'pg-chain'","import { INSERT_INTO } from 'pg-chain'","import { UPDATE } from 'pg-chain'","import { DELETE_FROM } from 'pg-chain'","import { WITH_RECURSIVE } from 'pg-chain'"]},{"cmd":"yarn add pg-chain","imports":[]},{"cmd":"pnpm add pg-chain","imports":[]}],"homepage":"https://github.com/fskuteken/pg-chain#readme","github":"https://github.com/fskuteken/pg-chain","docs":null,"changelog":null,"pypi":null,"npm":"pg-chain","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}