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

Method is_not_set

src/entity/active_model.rs:815–817  ·  view source on GitHub ↗

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

(&self)

Source from the content-addressed store, hash-verified

813
814 /// Check if the [ActiveValue] is [ActiveValue::NotSet]
815 pub fn is_not_set(&self) -> bool {
816 matches!(self, Self::NotSet)
817 }
818
819 /// Get the mutable value an [ActiveValue]
820 /// also setting itself to [ActiveValue::NotSet]

Callers 1

saveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected