From 27e2b5c5da59ea1b8bc0724708e78b1a64d4bd9f Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Thu, 26 Jan 2023 18:43:26 +0800 Subject: [PATCH] Changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d3ca3a6..fdd0f6f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,7 +63,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### 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 * As part of https://github.com/SeaQL/sea-orm/pull/1311, the required method of `TryGetable` changed: ```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 let res = Update::one(cake::ActiveModel { name: Set("Cheese Cake".to_owned()),