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

Method Next

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

Next returns the next key in lexicographic sort order. The method may only take a shallow copy of the Key, so both the receiver and the return value should be treated as immutable after.

()

Source from the content-addressed store, hash-verified

1172// take a shallow copy of the Key, so both the receiver and the return
1173// value should be treated as immutable after.
1174func (k Key) Next() Key {
1175 return Key(BytesNext(k))
1176}
1177
1178// Next implements the Datum interface.
1179func (d *DString) Next(_ *EvalContext) (Datum, bool) {

Callers

nothing calls this directly

Calls 2

KeyTypeAlias · 0.85
BytesNextFunction · 0.85

Tested by

no test coverage detected