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

Method encodeInvertedIndexKeys

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

Source from the content-addressed store, hash-verified

1185}
1186
1187func (jsonTrue) encodeInvertedIndexKeys(b []byte) ([][]byte, error) {
1188 b = encoding.AddJSONPathTerminator(b)
1189 return [][]byte{encoding.EncodeTrueAscending(b)}, nil
1190}
1191
1192func (j jsonTrue) encodeContainingInvertedIndexSpans(
1193 b []byte, isRoot, isObjectValue bool,

Callers

nothing calls this directly

Calls 2

AddJSONPathTerminatorFunction · 0.92
EncodeTrueAscendingFunction · 0.92

Tested by

no test coverage detected