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

Method RemoveString

postgres/parser/json/encoded.go:674–680  ·  view source on GitHub ↗

RemoveString implements the JSON interface.

(s string)

Source from the content-addressed store, hash-verified

672
673// RemoveString implements the JSON interface.
674func (j *jsonEncoded) RemoveString(s string) (JSON, bool, error) {
675 decoded, err := j.shallowDecode()
676 if err != nil {
677 return nil, false, err
678 }
679 return decoded.RemoveString(s)
680}
681
682func (j *jsonEncoded) RemovePath(path []string) (JSON, bool, error) {
683 decoded, err := j.shallowDecode()

Callers

nothing calls this directly

Calls 2

shallowDecodeMethod · 0.95
RemoveStringMethod · 0.65

Tested by

no test coverage detected