MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / is_comparison_op

Function is_comparison_op

nodedb-sql/src/planner/subquery.rs:340–350  ·  view source on GitHub ↗
(op: &ast::BinaryOperator)

Source from the content-addressed store, hash-verified

338}
339
340fn is_comparison_op(op: &ast::BinaryOperator) -> bool {
341 matches!(
342 op,
343 ast::BinaryOperator::Gt
344 | ast::BinaryOperator::GtEq
345 | ast::BinaryOperator::Lt
346 | ast::BinaryOperator::LtEq
347 | ast::BinaryOperator::Eq
348 | ast::BinaryOperator::NotEq
349 )
350}
351
352/// Result of planning a scalar subquery.
353struct ScalarSubqueryResult {

Callers 1

extract_recursiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected