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

Method row_contains_null

graphlite/src/exec/executor.rs:8391–8402  ·  view source on GitHub ↗

Check if a row contains any NULL values Used for SQL NULL semantics in set operations where NULL != NULL

(&self, row: &Row)

Source from the content-addressed store, hash-verified

8389 /// Check if a row contains any NULL values
8390 /// Used for SQL NULL semantics in set operations where NULL != NULL
8391 fn row_contains_null(&self, row: &Row) -> bool {
8392 // Check positional values if available, otherwise check named values
8393 if !row.positional_values.is_empty() {
8394 row.positional_values
8395 .iter()
8396 .any(|value| matches!(value, Value::Null))
8397 } else {
8398 row.values
8399 .values()
8400 .any(|value| matches!(value, Value::Null))
8401 }
8402 }
8403
8404 /// Apply ORDER BY clause to query result
8405 fn apply_order_by(

Callers 1

execute_intersectMethod · 0.80

Calls 2

is_emptyMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected