prax-codegen 0.10.0

Procedural macros for code generation in the Prax ORM
Documentation
1
2
3
4
5
6
7
8
9
// Fixture: aggregate! with no aggregate block (_count/_sum/_avg/_min/_max)
// Expected diagnostic: "aggregate! requires at least one of _count, _sum, _avg, _min, _max"

fn main() {
    let client = ();
    let _ = prax_codegen::aggregate!(client.user, {
        where: { id: 1 },
    });
}