MCPcopy Create free account
hub / github.com/dolthub/doltgresql / HasSubOperator

Method HasSubOperator

postgres/parser/sem/tree/expr.go:471–480  ·  view source on GitHub ↗

HasSubOperator returns if the ComparisonOperator is used with a sub-operator.

()

Source from the content-addressed store, hash-verified

469
470// HasSubOperator returns if the ComparisonOperator is used with a sub-operator.
471func (i ComparisonOperator) HasSubOperator() bool {
472 switch i {
473 case Any:
474 case Some:
475 case All:
476 default:
477 return false
478 }
479 return true
480}
481
482// ComparisonExpr represents a two-value comparison expression.
483type ComparisonExpr struct {

Callers 3

docMethod · 0.80
FormatMethod · 0.80
TypeCheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected