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

Method Prev

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

Prev implements the Datum interface.

(ctx *EvalContext)

Source from the content-addressed store, hash-verified

3642
3643// Prev implements the Datum interface.
3644func (d *DOid) Prev(ctx *EvalContext) (Datum, bool) {
3645 prev, ok := d.DInt.Prev(ctx)
3646 return &DOid{*prev.(*DInt), d.semanticType, ""}, ok
3647}
3648
3649// ResolvedType implements the Datum interface.
3650func (d *DOid) ResolvedType() *types.T {

Callers

nothing calls this directly

Calls 1

PrevMethod · 0.65

Tested by

no test coverage detected