rok-sqlc 0.3.0

Generate SQLx Rust database modules from SQL schema files
Documentation
1
2
3
4
5
6
7
8
9
//! SQLC-style annotated query files: parsing annotations, then analyzing
//! each query against the schema so code generation can emit typed
//! functions.

pub mod analyze;
pub mod annotations;

pub use analyze::{AnalyzedQuery, OutputColumn, Param, ResultShape, analyze_queries};
pub use annotations::{QueryDef, QueryFailure, ReturnMode, parse_query_file};