prax-orm 0.8.0

A next-generation, type-safe ORM for Rust inspired by Prisma
Documentation
1
2
3
4
5
6
7
8
9
10
// A unit struct has no named fields. The derive rejects it up front
// with a message naming the "named fields" requirement so users aren't
// confused by a downstream error about a missing `Fields::Named` variant.

use prax_orm::Model;

#[derive(Model)]
struct Foo;

fn main() {}