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

Method Prev

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

Prev returns the previous datum and true, if one exists, or nil and false. The previous datum satisfies the following definition: if the receiver is "b" and the returned datum is "a", then for every compatible datum "x", it holds that "x < b" is true if and only if "x <= a" is true. The return valu

(ctx *EvalContext)

Source from the content-addressed store, hash-verified

95 // weaker contract. The original filter expression is left in place to catch
96 // false positives.
97 Prev(ctx *EvalContext) (Datum, bool)
98
99 // IsMin returns true if the datum is equal to the minimum value the datum
100 // type can hold.

Callers 4

PrevMethod · 0.65
PrevMethod · 0.65
PrevMethod · 0.65
PrevMethod · 0.65

Implementers 15

DTuplepkg/sql/sem/tree/datum.go
DArraypkg/sql/sem/tree/datum.go
DBitArraypkg/sql/sem/tree/datum.go
DDecimalpkg/sql/sem/tree/datum.go
DCollatedStringpkg/sql/sem/tree/datum.go
DUuidpkg/sql/sem/tree/datum.go
DIPAddrpkg/sql/sem/tree/datum.go
DDatepkg/sql/sem/tree/datum.go
DTimeTZpkg/sql/sem/tree/datum.go
DTimestamppkg/sql/sem/tree/datum.go
DTimestampTZpkg/sql/sem/tree/datum.go
DIntervalpkg/sql/sem/tree/datum.go

Calls

no outgoing calls

Tested by

no test coverage detected