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

Method Prev

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

Prev implements the Datum interface.

(_ *EvalContext)

Source from the content-addressed store, hash-verified

2425
2426// Prev implements the Datum interface.
2427func (d *DTimestampTZ) Prev(_ *EvalContext) (Datum, bool) {
2428 return &DTimestampTZ{Time: d.Add(-time.Microsecond)}, true
2429}
2430
2431// Next implements the Datum interface.
2432func (d *DTimestampTZ) Next(_ *EvalContext) (Datum, bool) {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected