pgorm 0.2.0

A model-definition-first, AI-friendly PostgreSQL ORM for Rust
Documentation

pgorm

A model-definition-first, AI-friendly PostgreSQL ORM for Rust.

Quick Start

use pgorm::prelude::*;

Two-level API

  • Recommended: [PgClient] — monitoring + SQL checking + statement cache + policy
  • Low-level: [GenericClient] / [Sql] — pluggable, minimal abstraction

Modules

  • [monitor] — query monitoring, hooks, [InstrumentedClient]
  • [check] — SQL schema checking, linting, [SchemaRegistry]
  • [prelude] — convenient use pgorm::prelude::* for daily use
  • [qb] — thin wrapper around query() for hand-written SQL

Stability: pgorm is pre-1.0. APIs may change between minor versions. MSRV: 1.88+