From eacd71f3a6fc30b4bce5ebf1d83fb7c561012617 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Sat, 8 Jul 2023 00:10:42 +0800 Subject: [PATCH] Changelog --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dcba442..19d1393f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -274,6 +274,15 @@ assert!(matches!( Some(SqlErr::ForeignKeyConstraintViolation(_)) )); ``` +* Add `Select::find_with_linked`, similar to `find_with_related`: +```rust +fn find_with_related(self, r: R) -> SelectTwoMany + where R: EntityTrait, E: Related; +fn find_with_linked(self, l: L) -> SelectTwoMany + where L: Linked, T: EntityTrait; + +// boths yields `Vec<(E::Model, Vec)>` +``` ### Enhancements @@ -433,6 +442,7 @@ impl ColumnTrait for Column { * The derive macro `EnumIter` is now shipped by `sea-orm-macros` * Added a new variant `Many` to `Identity` https://github.com/SeaQL/sea-orm/pull/1508 * Replace the use of `SeaRc` where `T` isn't `dyn Iden` with `RcOrArc` https://github.com/SeaQL/sea-orm/pull/1661 +* Enabled `hashable-value` feature in SeaQuery, thus `Value::Float(NaN) == Value::Float(NaN)` would be true ## 0.11.3 - 2023-04-24