SeaQL / sea-orm

🐚 An async & dynamic ORM for Rust
https://www.sea-ql.org/SeaORM/
Apache License 2.0
6.56k stars 459 forks source link

Add `ActiveValue::set_if_not_equals()` #2194

Closed Expurple closed 1 month ago

Expurple commented 2 months ago

In my dependent project, I have this helper that I use a lot. I think, it's really useful and it's time to upstream it. Without it, the whole .is_changed()/.is_unchanged() story doesn't work properly, IMO.

PR Info

New Features

Bug Fixes

Breaking Changes

Changes

Expurple commented 2 months ago

CI fails because sqlx-sqlite v0.7.4 doesn't compile. This doesn't seem to be my fault

Expurple commented 1 month ago

Updated the branch to resolve the merge conflict. Looks like we're good to go now. And the CI doesn't fail anymore

github-actions[bot] commented 1 month ago

:tada: Released In 1.0.0-rc.5 :tada:

Thank you everyone for the contribution! This feature is now available in the latest release. Now is a good time to upgrade! Your participation is what makes us unique; your adoption is what drives us forward. You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.