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

Method Prev

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

Prev implements the Datum interface.

(_ *EvalContext)

Source from the content-addressed store, hash-verified

2286
2287// Prev implements the Datum interface.
2288func (d *DTimestamp) Prev(_ *EvalContext) (Datum, bool) {
2289 return &DTimestamp{Time: d.Add(-time.Microsecond)}, true
2290}
2291
2292// Next implements the Datum interface.
2293func (d *DTimestamp) Next(_ *EvalContext) (Datum, bool) {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected