This commit is contained in:
Billy Chan 2023-02-06 14:34:26 +08:00
parent f9caf9d6dd
commit 9fb280e983
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -100,8 +100,8 @@ impl TryGetable for XXX {
} }
} }
``` ```
* The `ActiveModelBehaviour` trait becomes async trait https://github.com/SeaQL/sea-orm/pull/1328. * The `ActiveModelBehavior` trait becomes async trait https://github.com/SeaQL/sea-orm/pull/1328.
If you overridden the default `ActiveModelBehaviour` implementation: If you overridden the default `ActiveModelBehavior` implementation:
```rust ```rust
#[async_trait::async_trait] #[async_trait::async_trait]
impl ActiveModelBehavior for ActiveModel { impl ActiveModelBehavior for ActiveModel {