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: group_by! with no by: key at all
// Expected diagnostic: "group_by! requires a `by: [...]` list"

fn main() {
    let client = ();
    let _ = prax_codegen::group_by!(client.user, {
        _count: { _all: true },
    });
}