Reset all values from [ActiveValue::Unchanged] to [ActiveValue::Set], leaving [ActiveValue::NotSet] untouched.
(mut self)
| 111 | /// Reset all values from [ActiveValue::Unchanged] to [ActiveValue::Set], |
| 112 | /// leaving [ActiveValue::NotSet] untouched. |
| 113 | fn reset_all(mut self) -> Self { |
| 114 | for col in <Self::Entity as EntityTrait>::Column::iter() { |
| 115 | self.reset(col); |
| 116 | } |
| 117 | self |
| 118 | } |
| 119 | |
| 120 | /// Get the primary key of the ActiveModel |
| 121 | /// |