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

Method Next

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

Next implements the Datum interface.

(ctx context.Context, cmpCtx CompareContext)

Source from the content-addressed store, hash-verified

5894
5895// Next implements the Datum interface.
5896func (d *DOidWrapper) Next(ctx context.Context, cmpCtx CompareContext) (Datum, bool) {
5897 next, ok := d.Wrapped.Next(ctx, cmpCtx)
5898 return wrapWithOid(next, d.Oid), ok
5899}
5900
5901// IsMax implements the Datum interface.
5902func (d *DOidWrapper) IsMax(ctx context.Context, cmpCtx CompareContext) bool {

Callers

nothing calls this directly

Calls 2

wrapWithOidFunction · 0.85
NextMethod · 0.65

Tested by

no test coverage detected