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

Function EncodeArrayAscending

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

809
810// EncodeArrayAscending encodes a value used to signify membership of an array for JSON objects.
811func EncodeArrayAscending(b []byte) []byte {
812 return append(b, escape, escapedJSONArray)
813}
814
815// EncodeTrueAscending encodes the boolean value true for use with JSON inverted indexes.
816func EncodeTrueAscending(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…