cratestack-sqlx 0.3.7

Rust-native schema-first framework for typed HTTP APIs, generated clients, and backend services.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! SQL rendering for sqlx queries — turns the structured query types
//! (`FilterExpr`, `ReadPolicy`, `OrderClause`) into the `WHERE` /
//! `ORDER BY` strings the runtime feeds to a `QueryBuilder` and binds
//! values into.

mod filter;
mod filter_subkinds;
mod order;
mod policy;
mod policy_predicate;
mod select;

pub(crate) use filter::render_filter_expr_sql;
pub(crate) use order::render_order_clause_sql;
pub(crate) use policy::render_read_policy_sql;
pub(crate) use select::render_scoped_select_sql;