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

Method encodeInvertedIndexKeys

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

Source from the content-addressed store, hash-verified

690 return json.encodeInvertedIndexKeys(encoding.EncodeJSONAscending(b))
691}
692func (j jsonNull) encodeInvertedIndexKeys(b []byte) ([][]byte, error) {
693 b = encoding.AddJSONPathTerminator(b)
694 return [][]byte{encoding.EncodeNullAscending(b)}, nil
695}
696func (jsonTrue) encodeInvertedIndexKeys(b []byte) ([][]byte, error) {
697 b = encoding.AddJSONPathTerminator(b)
698 return [][]byte{encoding.EncodeTrueAscending(b)}, nil

Callers

nothing calls this directly

Calls 2

AddJSONPathTerminatorFunction · 0.92
EncodeNullAscendingFunction · 0.92

Tested by

no test coverage detected