diff --git a/SeaORM/docs/02-install-and-config/01-database-and-async-runtime.md b/SeaORM/docs/02-install-and-config/01-database-and-async-runtime.md index e680b7ce877..040c8918f70 100644 --- a/SeaORM/docs/02-install-and-config/01-database-and-async-runtime.md +++ b/SeaORM/docs/02-install-and-config/01-database-and-async-runtime.md @@ -7,7 +7,7 @@ Thank you for using SeaORM. Please star our [GitHub repo](https://github.com/Sea First, add `sea-orm` to the `[dependencies]` section of `Cargo.toml`. ```toml title="Cargo.toml" -sea-orm = { version = "0.12", features = [ , , "macros" ] } +sea-orm = { version = "1.0.0-rc.5", features = [ , , "macros" ] } ``` You must choose a `DATABASE_DRIVER` and an `ASYNC_RUNTIME`. `macros` is needed if you use SeaORM's generated entities (most likely). diff --git a/SeaORM/docs/02-install-and-config/03-debug-log.md b/SeaORM/docs/02-install-and-config/03-debug-log.md index fd5af7ac954..4a68b6ba862 100644 --- a/SeaORM/docs/02-install-and-config/03-debug-log.md +++ b/SeaORM/docs/02-install-and-config/03-debug-log.md @@ -6,7 +6,7 @@ You can enable SeaORM's logging with the `debug-print` feature flag: ```toml [dependencies.sea-orm] -version = "0.12" +version = "1.0.0-rc.5" features = ["debug-print"] ``` diff --git a/SeaORM/docs/03-migration/01-setting-up-migration.md b/SeaORM/docs/03-migration/01-setting-up-migration.md index 7ef3f49f974..b5d79d81efe 100644 --- a/SeaORM/docs/03-migration/01-setting-up-migration.md +++ b/SeaORM/docs/03-migration/01-setting-up-migration.md @@ -32,7 +32,7 @@ impl MigratorTrait for Migrator { First, install `sea-orm-cli` with `cargo`. ```shell -cargo install sea-orm-cli +cargo install sea-orm-cli@1.0.0-rc.5 ``` :::tip SQL Server (MSSQL) backend @@ -85,7 +85,7 @@ Import the [`sea-orm-migration`](https://crates.io/crates/sea-orm-migration) and async-std = { version = "1", features = ["attributes", "tokio1"] } [dependencies.sea-orm-migration] -version = "0.12" +version = "1.0.0-rc.5" features = [ # Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI. # View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime. @@ -146,7 +146,7 @@ Specify SeaORM dependency. ```toml title="entity/Cargo.toml" [dependencies] -sea-orm = { version = "0.12" } +sea-orm = { version = "1.0.0-rc.5" } ``` ### App Crate @@ -166,7 +166,7 @@ entity = { path = "entity" } migration = { path = "migration" } # depends on your needs [dependencies] -sea-orm = { version = "0.12", features = [..] } +sea-orm = { version = "1.0.0-rc.5", features = [..] } ``` In your app, you can then run the migrator on startup. diff --git a/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md b/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md index b481e2f5432..60900e43d31 100644 --- a/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md +++ b/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md @@ -3,7 +3,7 @@ First, install `sea-orm-cli` with `cargo`. ```shell -cargo install sea-orm-cli +cargo install sea-orm-cli@1.0.0-rc.5 ``` :::tip SQL Server (MSSQL) backend diff --git a/SeaORM/docs/08-advanced-query/02-conditional-expression.md b/SeaORM/docs/08-advanced-query/02-conditional-expression.md index 11bedc8eadb..7a56c49fa09 100644 --- a/SeaORM/docs/08-advanced-query/02-conditional-expression.md +++ b/SeaORM/docs/08-advanced-query/02-conditional-expression.md @@ -1,6 +1,6 @@ # Conditional Expressions -You can add conditions to SeaORM find with the `filter` method. You can also restrict the aggregated result with `having` method. Both of them take [`sea_query::Condition`](https://docs.rs/sea-query/0.12.7/sea_query/query/struct.Condition.html) as a parameter. +You can add conditions to SeaORM find with the `filter` method. You can also restrict the aggregated result with `having` method. Both of them take [`sea_query::Condition`](https://docs.rs/sea-query/*/sea_query/query/struct.Condition.html) as a parameter. ## AND Condition