pqb

Crates.iopqb
lib.rspqb
version0.0.2
created_at2026-01-05 16:12:10.813738+00
updated_at2026-01-23 14:04:45.868307+00
descriptionA PostgreSQL Query Builder
homepagehttps://github.com/tisonkun/pqb
repositoryhttps://github.com/tisonkun/pqb
max_upload_size
id2024110
size41,040
tison (tisonkun)

documentation

README

                   __
    ____   ____ _ / /_
   / __ \ / __ `// __ \
  / /_/ // /_/ // /_/ /
 / .___/ \__, //_.___/
/_/        /_/

Crates.io Documentation MSRV 1.85 Apache 2.0 licensed Build Status

pqb is a PostgreSQL query builder.

Installation

cargo add pqb

Minimum Rust version policy

This crate is built against the latest stable release, and its minimum supported rustc version is 1.85.0.

The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if version 1.0 requires Rust 1.60.0, then version 1.0.z for all values of z will also require Rust 1.60.0 or newer. However, version 1.y for y > 0 may require a newer minimum version of Rust.

License

This project is licensed under Apache License, Version 2.0.

Origins

This project is derived from sea-query with significant simplification since it is aimed at generating PostgreSQL only statements (queries).

We don't need to abstract over multiple database backends, so many traits and tricks in sea-query are removed to reduce complexity.

Commit count: 8

cargo fmt