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

Struct BinOp

pkg/sql/sem/tree/eval.go:180–193  ·  view source on GitHub ↗

BinOp is a binary operator.

Source from the content-addressed store, hash-verified

178
179// BinOp is a binary operator.
180type BinOp struct {
181 LeftType *types.T
182 RightType *types.T
183 ReturnType *types.T
184 NullableArgs bool
185 Fn func(*EvalContext, Datum, Datum) (Datum, error)
186
187 types TypeList
188 retType ReturnTyper
189
190 //// counter, if non-nil, should be incremented every time the
191 //// operator is type checked.
192 //counter telemetry.Counter
193}
194
195func (op *BinOp) params() TypeList {
196 return op.types

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected