MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / eq

Method eq

graphlite/src/exec/result.rs:297–306  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

295
296impl PartialEq for Row {
297 fn eq(&self, other: &Self) -> bool {
298 // For set operations, compare positionally if both have positional values
299 if !self.positional_values.is_empty() && !other.positional_values.is_empty() {
300 // SQL set operations: NULL != NULL
301 self.sql_set_equal(&other.positional_values)
302 } else {
303 // Fallback to named comparison for backward compatibility
304 self.sql_set_equal_named(other)
305 }
306 }
307}
308
309impl Row {

Callers

nothing calls this directly

Calls 3

sql_set_equalMethod · 0.80
sql_set_equal_namedMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected