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

Method Compare

postgres/parser/json/json.go:428–428  ·  view source on GitHub ↗
(other JSON)

Source from the content-addressed store, hash-verified

426}
427
428func (j jsonNull) Compare(other JSON) (int, error) { return cmpJSONTypes(j.Type(), other.Type()), nil }
429func (j jsonFalse) Compare(other JSON) (int, error) { return cmpJSONTypes(j.Type(), other.Type()), nil }
430func (j jsonTrue) Compare(other JSON) (int, error) { return cmpJSONTypes(j.Type(), other.Type()), nil }
431

Callers

nothing calls this directly

Calls 3

TypeMethod · 0.95
cmpJSONTypesFunction · 0.85
TypeMethod · 0.65

Tested by

no test coverage detected