Crate ormada_derive

Crate ormada_derive 

Source
Expand description

Proc macro for #[derive(OrmadaModel)]

This crate provides a derive macro that automatically generates Model-based create/update operations with auto field handling.

Attribute Macros§

atomic
Attribute macro for atomic transactions
ergorm_projection
Attribute macro for defining type-safe projections with compile-time validation
ormada_data_migration
Attribute macro for data migrations
ormada_model
Attribute macro for defining Ormada models with clean syntax
ormada_schema
Attribute macro for defining schema in migration files

Derive Macros§

OrmadaModel
Derive macro for Ormada Model-based operations