MCPcopy Create free account
hub / github.com/dolthub/doltgresql / EncodeArrayAscending

Function EncodeArrayAscending

postgres/parser/encoding/encoding.go:528–530  ·  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

526
527// EncodeArrayAscending encodes a value used to signify membership of an array for JSON objects.
528func EncodeArrayAscending(b []byte) []byte {
529 return append(b, escape, escapedJSONArray)
530}
531
532// EncodeTrueAscending encodes the boolean value true for use with JSON inverted indexes.
533func EncodeTrueAscending(b []byte) []byte {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected