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

Method preprocessForContains

postgres/parser/json/encoded.go:761–771  ·  view source on GitHub ↗

preprocessForContains implements the JSON interface.

()

Source from the content-addressed store, hash-verified

759
760// preprocessForContains implements the JSON interface.
761func (j *jsonEncoded) preprocessForContains() (containsable, error) {
762 if dec := j.alreadyDecoded(); dec != nil {
763 return dec.preprocessForContains()
764 }
765
766 decoded, err := j.decode()
767 if err != nil {
768 return nil, err
769 }
770 return decoded.preprocessForContains()
771}
772
773// jEntry implements the JSON interface.
774func (j *jsonEncoded) jEntry() jEntry {

Callers

nothing calls this directly

Calls 3

alreadyDecodedMethod · 0.95
decodeMethod · 0.95
preprocessForContainsMethod · 0.65

Tested by

no test coverage detected