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

Method rows_equal

graphlite/src/exec/executor.rs:9495–9502  ·  view source on GitHub ↗

Helper method to check if two rows are equal (used for INTERSECT/EXCEPT operations)

(&self, row1: &Row, row2: &Row)

Source from the content-addressed store, hash-verified

9493
9494 /// Helper method to check if two rows are equal (used for INTERSECT/EXCEPT operations)
9495 fn rows_equal(&self, row1: &Row, row2: &Row) -> bool {
9496 // Use identity-based comparison when entities are tracked
9497 if row1.has_entities() || row2.has_entities() {
9498 self.rows_equal_by_identity(row1, row2)
9499 } else {
9500 self.rows_equal_by_values(row1, row2)
9501 }
9502 }
9503
9504 /// Compare rows based on their graph entity identities
9505 /// This is the correct approach for set operations on graph data

Callers 1

Calls 3

has_entitiesMethod · 0.80
rows_equal_by_valuesMethod · 0.80

Tested by

no test coverage detected