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

Method Prev

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

Prev implements the Datum interface.

(_ *EvalContext)

Source from the content-addressed store, hash-verified

675
676// Prev implements the Datum interface.
677func (d *DInt) Prev(_ *EvalContext) (Datum, bool) {
678 return NewDInt(*d - 1), true
679}
680
681// Next implements the Datum interface.
682func (d *DInt) Next(_ *EvalContext) (Datum, bool) {

Callers

nothing calls this directly

Calls 1

NewDIntFunction · 0.85

Tested by

no test coverage detected