Return `true` if any attribute of `ActiveModel` is `Set`
(&self)
| 563 | |
| 564 | /// Return `true` if any attribute of `ActiveModel` is `Set` |
| 565 | fn is_changed(&self) -> bool { |
| 566 | <Self::Entity as EntityTrait>::Column::iter() |
| 567 | .any(|col| self.get(col).is_set() && !self.get(col).is_unchanged()) |
| 568 | } |
| 569 | } |
| 570 | |
| 571 | /// A Trait for overriding the ActiveModel behavior |
nothing calls this directly
no test coverage detected