* Override column name with the name of model field in `DeriveEntityModel` macros [issues] * Fixup: trim prefix and tailing underscore Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
317 B
317 B
sea_orm_underscore_fields
A minimal repository showing an issue with SeaORM.
Connects to the database with env!()
, so make sure to set DATABASE_URL
when compiling.
The file src/entity/underscores_workaround.rs
shows the workaround to get the names to query correctly, and what happens if it's not included.