MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Compare

Method Compare

pkg/util/json/json.go:378–378  ·  view source on GitHub ↗
(other JSON)

Source from the content-addressed store, hash-verified

376}
377
378func (j jsonNull) Compare(other JSON) (int, error) { return cmpJSONTypes(j.Type(), other.Type()), nil }
379func (j jsonFalse) Compare(other JSON) (int, error) { return cmpJSONTypes(j.Type(), other.Type()), nil }
380func (j jsonTrue) Compare(other JSON) (int, error) { return cmpJSONTypes(j.Type(), other.Type()), nil }
381

Callers 1

slowContainsMethod · 0.95

Calls 3

TypeMethod · 0.95
cmpJSONTypesFunction · 0.85
TypeMethod · 0.65

Tested by

no test coverage detected