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

Method encodeInvertedIndexKeys

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

Source from the content-addressed store, hash-verified

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
699}
700func (jsonFalse) encodeInvertedIndexKeys(b []byte) ([][]byte, error) {
701 b = encoding.AddJSONPathTerminator(b)
702 return [][]byte{encoding.EncodeFalseAscending(b)}, nil

Callers

nothing calls this directly

Calls 2

AddJSONPathTerminatorFunction · 0.92
EncodeTrueAscendingFunction · 0.92

Tested by

no test coverage detected