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

Function EncodeTrueAscending

pkg/util/encoding/encoding.go:816–818  ·  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

814
815// EncodeTrueAscending encodes the boolean value true for use with JSON inverted indexes.
816func EncodeTrueAscending(b []byte) []byte {
817 return append(b, byte(True))
818}
819
820// EncodeFalseAscending encodes the boolean value false for use with JSON inverted indexes.
821func 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…