Skip to content

Commit 23c20ab

Browse files
committed
[SeaORM] Docs
1 parent f741cd0 commit 23c20ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SeaORM/docs/01-introduction/01-sea-orm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The `Entity` trait provides an API for you to inspect its properties ([`Column`]
2222

2323
Each table has multiple columns, which are referred to as field.
2424

25-
These fields and their values are grouped in a Rust struct (a [`Model`](12-internal-design/05-expanded-entity-format.md#model)) so that you can manipulate them.
25+
These fields and their values are grouped in a Rust struct (a [`Model`](13-internal-design/05-expanded-entity-format.md#model)) so that you can manipulate them.
2626

27-
However, `Model` is for read operations only. To perform insert, update, or delete, you need to use [`ActiveModel`](12-internal-design/05-expanded-entity-format.md#active-model) which attaches a state on each field.
27+
However, `Model` is for read operations only. To perform insert, update, or delete, you need to use [`ActiveModel`](13-internal-design/05-expanded-entity-format.md#active-model) which attaches a state on each field.
2828

2929
Finally, there is no singleton (global context) in SeaORM. Application code is responsible for managing the ownership of the `DatabaseConnection`. We do provide integration examples for web frameworks including [Actix](https://github.com/SeaQL/sea-orm/tree/master/examples/actix_example), [axum](https://github.com/SeaQL/sea-orm/tree/master/examples/axum_example), [poem](https://github.com/SeaQL/sea-orm/tree/master/examples/poem_example), [Loco](https://github.com/SeaQL/sea-orm/tree/master/examples/loco_example) and [salvo](https://github.com/SeaQL/sea-orm/tree/master/examples/salvo_example) to help you get started quickly.

SeaORM/docs/04-generate-entity/01-sea-orm-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Command line options:
5555
- `--include-hidden-tables`: generate entity files from hidden tables (tables with names starting with an underscore are hidden and ignored by default)
5656
- `--ignore-tables`: skip generating entity file for specified tables (default: `seaql_migrations`)
5757
- `--compact-format`: generate entity file of [compact format](04-generate-entity/02-entity-format.md) (default: true)
58-
- `--expanded-format`: generate entity file of [expanded format](12-internal-design/05-expanded-entity-format.md)
58+
- `--expanded-format`: generate entity file of [expanded format](13-internal-design/05-expanded-entity-format.md)
5959
- `--with-serde`: automatically derive serde Serialize / Deserialize traits for the entity (`none`, `serialize`, `deserialize`, `both`) (default: `none`)
6060
- `--serde-skip-deserializing-primary-key`: generate entity model with primary key field labeled as `#[serde(skip_deserializing)]`
6161
- `--serde-skip-hidden-column`: generate entity model with hidden column (column name starts with `_`) field labeled as `#[serde(skip)]`

0 commit comments

Comments
 (0)