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

Function EncodeJSONAscending

pkg/util/encoding/encoding.go:1038–1040  ·  view source on GitHub ↗

EncodeJSONAscending encodes a JSON Type. The encoded bytes are appended to the supplied buffer and the final buffer is returned.

(b []byte)

Source from the content-addressed store, hash-verified

1036// EncodeJSONAscending encodes a JSON Type. The encoded bytes are appended to the
1037// supplied buffer and the final buffer is returned.
1038func EncodeJSONAscending(b []byte) []byte {
1039 return append(b, jsonInvertedIndex)
1040}
1041
1042// Geo inverted keys are formatted as:
1043// geoInvertedIndexMarker + EncodeUvarintAscending(cellid) + encoded-bbox

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…