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

Method Concat

postgres/parser/json/encoded.go:665–671  ·  view source on GitHub ↗

Concat implements the JSON interface.

(other JSON)

Source from the content-addressed store, hash-verified

663
664// Concat implements the JSON interface.
665func (j *jsonEncoded) Concat(other JSON) (JSON, error) {
666 decoded, err := j.shallowDecode()
667 if err != nil {
668 return nil, err
669 }
670 return decoded.Concat(other)
671}
672
673// RemoveString implements the JSON interface.
674func (j *jsonEncoded) RemoveString(s string) (JSON, bool, error) {

Callers

nothing calls this directly

Calls 2

shallowDecodeMethod · 0.95
ConcatMethod · 0.65

Tested by

no test coverage detected