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

Method Next

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

Next implements the Datum interface.

(_ *EvalContext)

Source from the content-addressed store, hash-verified

680
681// Next implements the Datum interface.
682func (d *DInt) Next(_ *EvalContext) (Datum, bool) {
683 return NewDInt(*d + 1), true
684}
685
686// IsMax implements the Datum interface.
687func (d *DInt) IsMax(_ *EvalContext) bool {

Callers

nothing calls this directly

Calls 1

NewDIntFunction · 0.85

Tested by

no test coverage detected