* 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>
7 lines
317 B
Markdown
7 lines
317 B
Markdown
# 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.
|