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

Method Min

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

Min implements the Datum interface.

(ctx context.Context, cmpCtx CompareContext)

Source from the content-addressed store, hash-verified

5916
5917// Min implements the Datum interface.
5918func (d *DOidWrapper) Min(ctx context.Context, cmpCtx CompareContext) (Datum, bool) {
5919 min, ok := d.Wrapped.Min(ctx, cmpCtx)
5920 return wrapWithOid(min, d.Oid), ok
5921}
5922
5923// AmbiguousFormat implements the Datum interface.
5924func (d *DOidWrapper) AmbiguousFormat() bool {

Callers

nothing calls this directly

Calls 2

wrapWithOidFunction · 0.85
MinMethod · 0.65

Tested by

no test coverage detected