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

Function EncodeArrayAscending

pkg/util/encoding/encoding.go:1155–1157  ·  view source on GitHub ↗

EncodeArrayAscending encodes a value used to signify membership of an array for JSON objects.

(b []byte)

Source from the content-addressed store, hash-verified

1153
1154// EncodeArrayAscending encodes a value used to signify membership of an array for JSON objects.
1155func EncodeArrayAscending(b []byte) []byte {
1156 return append(b, escape, escapedJSONArray)
1157}
1158
1159// EncodeTrueAscending encodes the boolean value true for use with JSON inverted indexes.
1160func EncodeTrueAscending(b []byte) []byte {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…