MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / is_unchanged

Method is_unchanged

src/entity/active_model.rs:805–807  ·  view source on GitHub ↗

Check if the [ActiveValue] is [ActiveValue::Unchanged]

(&self)

Source from the content-addressed store, hash-verified

803
804 /// Check if the [ActiveValue] is [ActiveValue::Unchanged]
805 pub fn is_unchanged(&self) -> bool {
806 matches!(self, Self::Unchanged(_))
807 }
808
809 /// Create an [ActiveValue::NotSet]
810 pub fn not_set() -> Self {

Callers 2

addMethod · 0.80
is_changedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected