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

Method Next

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

Next implements the Datum interface.

(ctx context.Context, cmpCtx CompareContext)

Source from the content-addressed store, hash-verified

751
752// Next implements the Datum interface.
753func (d *DInt) Next(ctx context.Context, cmpCtx CompareContext) (Datum, bool) {
754 return NewDInt(*d + 1), true
755}
756
757// IsMax implements the Datum interface.
758func (d *DInt) IsMax(ctx context.Context, cmpCtx CompareContext) bool {

Callers

nothing calls this directly

Calls 1

NewDIntFunction · 0.85

Tested by

no test coverage detected