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

Method Min

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

Min implements the Datum interface.

(ctx *EvalContext)

Source from the content-addressed store, hash-verified

3662
3663// Min implements the Datum interface.
3664func (d *DOid) Min(ctx *EvalContext) (Datum, bool) {
3665 min, ok := d.DInt.Min(ctx)
3666 return &DOid{*min.(*DInt), d.semanticType, ""}, ok
3667}
3668
3669// DOidWrapper is a Datum implementation which is a wrapper around a Datum, allowing
3670// custom Oid values to be attached to the Datum and its types.T.

Callers

nothing calls this directly

Calls 1

MinMethod · 0.65

Tested by

no test coverage detected