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

Function EncodeTrueAscending

pkg/util/encoding/encoding.go:1160–1162  ·  view source on GitHub ↗

EncodeTrueAscending encodes the boolean value true for use with JSON inverted indexes.

(b []byte)

Source from the content-addressed store, hash-verified

1158
1159// EncodeTrueAscending encodes the boolean value true for use with JSON inverted indexes.
1160func EncodeTrueAscending(b []byte) []byte {
1161 return append(b, byte(True))
1162}
1163
1164// EncodeFalseAscending encodes the boolean value false for use with JSON inverted indexes.
1165func EncodeFalseAscending(b []byte) []byte {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…