MCPcopy Index your code
hub / github.com/lib/pq / appendValue

Function appendValue

array.go:775–781  ·  view source on GitHub ↗
(b []byte, v driver.Value)

Source from the content-addressed store, hash-verified

773}
774
775func appendValue(b []byte, v driver.Value) ([]byte, error) {
776 enc, err := encode(v, 0)
777 if err != nil {
778 return nil, err
779 }
780 return append(b, enc...), nil
781}
782
783// parseArray extracts the dimensions and elements of an array represented in
784// text format. Only representations emitted by the backend are supported.

Callers 1

appendArrayElementFunction · 0.85

Calls 1

encodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…