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

Method Max

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

Max implements the Datum interface.

(ctx *EvalContext)

Source from the content-addressed store, hash-verified

3772
3773// Max implements the Datum interface.
3774func (d *DOidWrapper) Max(ctx *EvalContext) (Datum, bool) {
3775 max, ok := d.Wrapped.Max(ctx)
3776 return wrapWithOid(max, d.Oid), ok
3777}
3778
3779// Min implements the Datum interface.
3780func (d *DOidWrapper) Min(ctx *EvalContext) (Datum, bool) {

Callers

nothing calls this directly

Calls 2

wrapWithOidFunction · 0.85
MaxMethod · 0.65

Tested by

no test coverage detected