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

Method Prev

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

Prev implements the Datum interface.

(ctx context.Context, cmpCtx CompareContext)

Source from the content-addressed store, hash-verified

5888
5889// Prev implements the Datum interface.
5890func (d *DOidWrapper) Prev(ctx context.Context, cmpCtx CompareContext) (Datum, bool) {
5891 prev, ok := d.Wrapped.Prev(ctx, cmpCtx)
5892 return wrapWithOid(prev, d.Oid), ok
5893}
5894
5895// Next implements the Datum interface.
5896func (d *DOidWrapper) Next(ctx context.Context, cmpCtx CompareContext) (Datum, bool) {

Callers

nothing calls this directly

Calls 2

wrapWithOidFunction · 0.85
PrevMethod · 0.65

Tested by

no test coverage detected