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
//! `update!` with an `increment:` operator on a String field should
//! fail with a "non-numeric" diagnostic pinned to the operator key.

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

fn main() {
    let _op = prax_orm::update!(unimplemented!(), for User, {
        where: { id: 1 },
        data: { email: { increment: 1 } },
    });
}