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

Method IsMax

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

IsMax implements the Datum interface.

(_ *EvalContext)

Source from the content-addressed store, hash-verified

2296
2297// IsMax implements the Datum interface.
2298func (d *DTimestamp) IsMax(_ *EvalContext) bool {
2299 // Adding 1 overflows to a smaller value
2300 tNext := d.Time.Add(time.Microsecond)
2301 return d.After(tNext)
2302}
2303
2304// IsMin implements the Datum interface.
2305func (d *DTimestamp) IsMin(_ *EvalContext) bool {

Callers

nothing calls this directly

Calls 2

AfterMethod · 0.80
AddMethod · 0.65

Tested by

no test coverage detected