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

Method Max

pkg/sql/sem/tree/datum.go:3844–3846  ·  view source on GitHub ↗

Max implements the Datum interface.

(ctx *EvalContext)

Source from the content-addressed store, hash-verified

3842
3843// Max implements the Datum interface.
3844func (d *Placeholder) Max(ctx *EvalContext) (Datum, bool) {
3845 return d.mustGetValue(ctx).Max(ctx)
3846}
3847
3848// Min implements the Datum interface.
3849func (d *Placeholder) Min(ctx *EvalContext) (Datum, bool) {

Callers

nothing calls this directly

Calls 2

mustGetValueMethod · 0.95
MaxMethod · 0.65

Tested by

no test coverage detected