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

Method Next

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

Next implements the Datum interface.

(ctx context.Context, cmpCtx CompareContext)

Source from the content-addressed store, hash-verified

1542
1543// Next implements the Datum interface.
1544func (d *DBytes) Next(ctx context.Context, cmpCtx CompareContext) (Datum, bool) {
1545 return NewDBytes(DBytes(encoding.BytesNext([]byte(*d)))), true
1546}
1547
1548// IsMax implements the Datum interface.
1549func (*DBytes) IsMax(ctx context.Context, cmpCtx CompareContext) bool {

Callers

nothing calls this directly

Calls 3

BytesNextFunction · 0.92
NewDBytesFunction · 0.85
DBytesTypeAlias · 0.85

Tested by

no test coverage detected