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

Method encodeInvertedIndexKeys

pkg/util/json/json.go:700–703  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

698 return [][]byte{encoding.EncodeTrueAscending(b)}, nil
699}
700func (jsonFalse) encodeInvertedIndexKeys(b []byte) ([][]byte, error) {
701 b = encoding.AddJSONPathTerminator(b)
702 return [][]byte{encoding.EncodeFalseAscending(b)}, nil
703}
704func (j jsonString) encodeInvertedIndexKeys(b []byte) ([][]byte, error) {
705 b = encoding.AddJSONPathTerminator(b)
706 return [][]byte{encoding.EncodeStringAscending(b, string(j))}, nil

Callers

nothing calls this directly

Calls 2

AddJSONPathTerminatorFunction · 0.92
EncodeFalseAscendingFunction · 0.92

Tested by

no test coverage detected