JSON SQL query building for Zol ORM. This package provides TypeScript-first utilities to construct SQL JSON functions like json_agg, json_build_object, and row_to_json using Zol's query builder. Currently at version 0.5.1, it is released on npm intermittently as part of the Zol ecosystem. Key differentiator: tight integration with Zol's type-safe query interface, enabling typed JSON aggregation without raw SQL strings.
npm install zol-jsonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Build a SQL query with JSON functions using Zol query builder.
Pin exact version and read changelog before upgrading.
Replace 'jsonObject' with 'jsonBuildObject' in imports and usage.
Ensure 'zol' is installed and version matches 'zol-json' exactly.
Use only with PostgreSQL database.
Run 'npm install zol-json' and ensure project name is correct.
Use 'import zol from 'zol'' instead of 'const zol = require('zol')'.Upgrade to version >=0.4.0: 'npm install zol-json@^0.4.0'.