Skip to content

Commit

Permalink
Merge pull request #9 from elbart/master
Browse files Browse the repository at this point in the history
Add --with-serde flag description
  • Loading branch information
tyt2y3 authored Oct 14, 2021
2 parents 950bbf6 + 5111803 commit 7738599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SeaORM/docs/03-generate-entity/01-sea-orm-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Command line options:
- `--include-hidden-tables`: generate entity files from hidden tables (table names starting with an underscore are ignored by default)
- `--compact-format`: Generate entity file of [compact format](/docs/generate-entity/entity-structure) (default: true)
- `--expanded-format`: Generate entity file of [expanded format](/docs/generate-entity/expanded-entity-structure)
- `--with-serde`: Automatically derive serde Serialize / Deserialize traits for the entity (none, serialize, deserialize, both) (default: none)

```shell
# Generate entity files of database `bakery` to `src/entity`
Expand Down

0 comments on commit 7738599

Please sign in to comment.