Skip to content

cloudflare-extension/unconventional-pg-queries

Repository files navigation

GitHub npm npm Bundle Size Bundle Size npm type definitions

A lightweight PostgreSQL query builder for Node.js applications.

Features

  • Simple Query Building: Build complex SQL queries using plain JavaScript objects
  • Type Safety: Full TypeScript support with comprehensive type definitions
  • Relation Support: Expand related data with nested objects
  • Relation Filtering: Filter on related tables
  • JSON Support: Query nested JSON fields
  • Pagination: Built-in cursor-based pagination
  • Lightweight: Minimal dependencies, only requires pg

Installation

npm install unconventional-pg-queries

Unconventional Queries is a tiny query builder for the pg library. Perfect for edge workers with size limits, such as Cloudflare Workers, where every line of code counts. Unlock the utility of your Postgres DB, minimize bloat, and never write a line of SQL manually again!

About

A lightweight query builder for postgres

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •