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

Method eq

src/entity/active_model.rs:945–952  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

943 V: Into<Value> + std::cmp::PartialEq,
944{
945 fn eq(&self, other: &Self) -> bool {
946 match (self, other) {
947 (ActiveValue::Set(l), ActiveValue::Set(r)) => l == r,
948 (ActiveValue::Unchanged(l), ActiveValue::Unchanged(r)) => l == r,
949 (ActiveValue::NotSet, ActiveValue::NotSet) => true,
950 _ => false,
951 }
952 }
953}
954
955impl<V> From<ActiveValue<V>> for ActiveValue<Option<V>>

Callers 9

prepare_filtersMethod · 0.45
from_query_resultMethod · 0.45
prepareMethod · 0.45
belongs_toMethod · 0.45
belongs_to_tbl_aliasMethod · 0.45
apply_filterMethod · 0.45
find_by_idMethod · 0.45
delete_by_idMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected