diff --git a/README.md b/README.md index 7e9e2b49..c0f99ecc 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ SeaORM is a relational ORM to help you build light weight and concurrent web ser 1. Async -Relying on [SQLx](https://github.com/launchbadge/sqlx), SeaORM is a new library with async support from day 1. + Relying on [SQLx](https://github.com/launchbadge/sqlx), SeaORM is a new library with async support from day 1. ```rust // execute multiple queries in parallel @@ -39,7 +39,7 @@ let cakes_and_fruits: (Vec, Vec) = 2. Dynamic -Built upon [SeaQuery](https://github.com/SeaQL/sea-query), SeaORM allows you to build complex queries without 'fighting the ORM'. + Built upon [SeaQuery](https://github.com/SeaQL/sea-query), SeaORM allows you to build complex queries without 'fighting the ORM'. ```rust // build subquery with ease @@ -59,11 +59,9 @@ let cakes_with_filling: Vec = cake::Entity::find() ``` -[more on SeaQuery](https://docs.rs/sea-query/*/sea_query/) - 3. Testable -Use mock connections to write unit tests for your logic. + Use mock connections to write unit tests for your logic. ```rust // Setup mock connection @@ -100,11 +98,9 @@ assert_eq!( ); ``` -[more on testing](/docs/write-test/mock) - 4. Service oriented -Quickly build services that join, filter, sort and paginate data in APIs. + Quickly build services that join, filter, sort and paginate data in APIs. ```rust #[get("/?&")] @@ -140,10 +136,6 @@ async fn list( } ``` -[full Rocket example](https://github.com/SeaQL/sea-orm/tree/master/examples/rocket_example) - -We are building more examples for other web frameworks too. - ## A quick taste of SeaORM ### Select diff --git a/src/lib.rs b/src/lib.rs index f82c4241..4eed86c6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -36,7 +36,7 @@ //! //! 1. Async //! -//! Relying on [SQLx](https://github.com/launchbadge/sqlx), SeaORM is a new library with async support from day 1. +//! Relying on [SQLx](https://github.com/launchbadge/sqlx), SeaORM is a new library with async support from day 1. //! //! ``` //! # use sea_orm::{DbConn, error::*, entity::*, query::*, tests_cfg::*, DatabaseConnection, DbBackend, MockDatabase, Transaction, IntoMockRow}; @@ -94,7 +94,7 @@ //! //! 2. Dynamic //! -//! Built upon [SeaQuery](https://github.com/SeaQL/sea-query), SeaORM allows you to build complex queries without 'fighting the ORM'. +//! Built upon [SeaQuery](https://github.com/SeaQL/sea-query), SeaORM allows you to build complex queries without 'fighting the ORM'. //! //! ``` //! # use sea_query::Query; @@ -119,11 +119,9 @@ //! # } //! ``` //! -//! [more on SeaQuery](https://docs.rs/sea-query/*/sea_query/) -//! //! 3. Testable //! -//! Use mock connections to write unit tests for your logic. +//! Use mock connections to write unit tests for your logic. //! //! ``` //! # use sea_orm::{error::*, entity::*, query::*, tests_cfg::*, DbConn, MockDatabase, Transaction, DbBackend}; @@ -164,11 +162,9 @@ //! # } //! ``` //! -//! [more on testing](/docs/write-test/mock) -//! //! 4. Service oriented //! -//! Quickly build services that join, filter, sort and paginate data in APIs. +//! Quickly build services that join, filter, sort and paginate data in APIs. //! //! ```ignore //! #[get("/?&")] @@ -204,10 +200,6 @@ //! } //! ``` //! -//! [full Rocket example](https://github.com/SeaQL/sea-orm/tree/master/examples/rocket_example) -//! -//! We are building more examples for other web frameworks too. -//! //! ## A quick taste of SeaORM //! //! ### Select