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

Method isConst

pkg/sql/sem/tree/normalize.go:758–760  ·  view source on GitHub ↗
(expr Expr)

Source from the content-addressed store, hash-verified

756}
757
758func (v *NormalizeVisitor) isConst(expr Expr) bool {
759 return v.fastIsConstVisitor.run(expr)
760}
761
762// isNumericZero returns true if the datum is a number and equal to
763// zero.

Callers 7

VisitPostMethod · 0.95
normalizeMethod · 0.45
normalizeMethod · 0.45
normalizeMethod · 0.45
normalizeMethod · 0.45
normalizeMethod · 0.45
normalizeMethod · 0.45

Calls 1

runMethod · 0.45

Tested by

no test coverage detected