prax-orm 0.10.0

A next-generation, type-safe ORM for Rust inspired by Prisma
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! `select` and `include` are mutually exclusive at the top level.

prax_orm::prax_schema!("prax/schema.prax");

fn main() {
    let _op = prax_orm::find_many!(unimplemented!(), for User, {
        where: { active: true },
        select: { id: true },
        include: { /* no relations on the workspace schema */ },
    });
}