Indentation
This commit is contained in:
parent
5c8caddf1f
commit
2176bad009
@ -59,8 +59,6 @@ let cakes_with_filling: Vec<cake::Model> = cake::Entity::find()
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
[more on SeaQuery](https://docs.rs/sea-query/*/sea_query/)
|
|
||||||
|
|
||||||
3. Testable
|
3. Testable
|
||||||
|
|
||||||
Use mock connections to write unit tests for your logic.
|
Use mock connections to write unit tests for your logic.
|
||||||
@ -100,8 +98,6 @@ assert_eq!(
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
[more on testing](/docs/write-test/mock)
|
|
||||||
|
|
||||||
4. Service oriented
|
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.
|
||||||
@ -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
|
## A quick taste of SeaORM
|
||||||
|
|
||||||
### Select
|
### Select
|
||||||
|
@ -119,8 +119,6 @@
|
|||||||
//! # }
|
//! # }
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! [more on SeaQuery](https://docs.rs/sea-query/*/sea_query/)
|
|
||||||
//!
|
|
||||||
//! 3. Testable
|
//! 3. Testable
|
||||||
//!
|
//!
|
||||||
//! Use mock connections to write unit tests for your logic.
|
//! Use mock connections to write unit tests for your logic.
|
||||||
@ -164,8 +162,6 @@
|
|||||||
//! # }
|
//! # }
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! [more on testing](/docs/write-test/mock)
|
|
||||||
//!
|
|
||||||
//! 4. Service oriented
|
//! 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.
|
||||||
@ -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
|
//! ## A quick taste of SeaORM
|
||||||
//!
|
//!
|
||||||
//! ### Select
|
//! ### Select
|
||||||
|
Loading…
x
Reference in New Issue
Block a user