Changelog
This commit is contained in:
parent
37704e1ed8
commit
27e2b5c5da
@ -63,7 +63,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
### Breaking changes
|
### Breaking changes
|
||||||
|
|
||||||
* Added to `RecordNotInserted` and `RecordNotUpdated` to `DbErr`
|
* Added `RecordNotInserted` and `RecordNotUpdated` to `DbErr`
|
||||||
* Added `ConnectionTrait::execute_unprepared` method https://github.com/SeaQL/sea-orm/pull/1327
|
* Added `ConnectionTrait::execute_unprepared` method https://github.com/SeaQL/sea-orm/pull/1327
|
||||||
* As part of https://github.com/SeaQL/sea-orm/pull/1311, the required method of `TryGetable` changed:
|
* As part of https://github.com/SeaQL/sea-orm/pull/1311, the required method of `TryGetable` changed:
|
||||||
```rust
|
```rust
|
||||||
@ -91,7 +91,7 @@ impl ActiveModelBehavior for ActiveModel {
|
|||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
* `DbErr::RecordNotFound("None of the database rows are affected")` is moved to a dedicated error variant `DbErr::RecordNotUpdated`
|
* `DbErr::RecordNotFound("None of the database rows are affected")` is moved to a dedicated error variant `DbErr::RecordNotUpdated` https://github.com/SeaQL/sea-orm/pull/1425
|
||||||
```rust
|
```rust
|
||||||
let res = Update::one(cake::ActiveModel {
|
let res = Update::one(cake::ActiveModel {
|
||||||
name: Set("Cheese Cake".to_owned()),
|
name: Set("Cheese Cake".to_owned()),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user