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

Method LookupImpl

pkg/sql/sem/tree/eval.go:1800–1808  ·  view source on GitHub ↗
(left, right *types.T)

Source from the content-addressed store, hash-verified

1798type cmpOpOverload []overloadImpl
1799
1800func (o cmpOpOverload) LookupImpl(left, right *types.T) (*CmpOp, bool) {
1801 for _, fn := range o {
1802 casted := fn.(*CmpOp)
1803 if casted.matchParams(left, right) {
1804 return casted, true
1805 }
1806 }
1807 return nil, false
1808}
1809
1810func makeCmpOpOverload(
1811 fn func(ctx *EvalContext, left, right Datum) (Datum, error), a, b *types.T, nullableArgs bool,

Callers 5

memoizeFnMethod · 0.45
evalComparisonFunction · 0.45
typeCheckComparisonOpFunction · 0.45

Calls 1

matchParamsMethod · 0.45

Tested by

no test coverage detected