postrust-sql 0.4.0

Type-safe SQL fragment and statement builder used by Postrust
Documentation

postrust-sql

Type-safe SQL fragment and statement builder used by Postrust.

Usable on its own if you just want a small SQL builder.

  • Composable SELECT, INSERT, UPDATE and DELETE builders.
  • Parameter placeholders with renumbering when fragments are combined.
  • Identifier escaping and qualified-name handling.

Install

cargo add postrust-sql

Part of Postrust

Postrust turns a PostgreSQL database into a REST and GraphQL API. It is published as a set of crates so you can depend on only the part you need:

Crate Role Docs
postrust-server HTTP server docs.rs
postrust-core Engine docs.rs
postrust-sql (this crate) SQL builder docs.rs
postrust-auth Authentication docs.rs
postrust-response Response formatting docs.rs
postrust-graphql GraphQL docs.rs
postrust-lambda AWS Lambda docs.rs
postrust-worker Cloudflare Workers docs.rs
postrust-proxy Reverse proxy docs.rs

Links

License

MIT -- see LICENSE.