MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / hasSubOperator

Method hasSubOperator

pkg/sql/sem/tree/expr.go:399–408  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

397
398// hasSubOperator returns if the ComparisonOperator is used with a sub-operator.
399func (i ComparisonOperator) hasSubOperator() bool {
400 switch i {
401 case Any:
402 case Some:
403 case All:
404 default:
405 return false
406 }
407 return true
408}
409
410// ComparisonExpr represents a two-value comparison expression.
411type ComparisonExpr struct {

Callers 4

docMethod · 0.80
FormatMethod · 0.80
EvalMethod · 0.80
TypeCheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected