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

Method Equals

server/types/type.go:567–572  ·  view source on GitHub ↗

Equals implements the types.ExtendedType interface.

(otherType sql.Type)

Source from the content-addressed store, hash-verified

565
566// Equals implements the types.ExtendedType interface.
567func (t *DoltgresType) Equals(otherType sql.Type) bool {
568 if otherExtendedType, ok := otherType.(*DoltgresType); ok {
569 return bytes.Equal(t.Serialize(), otherExtendedType.Serialize())
570 }
571 return false
572}
573
574// FormatValue implements the types.ExtendedType interface. Callers with
575// a session context should use FormatValueWithContext instead, since

Callers 10

verifySASLClientProofFunction · 0.45
array.goFile · 0.45
validateFunctionFunction · 0.45
WithChildrenMethod · 0.45
WithChildrenMethod · 0.45
WithChildrenMethod · 0.45
BeforeTableModifyColumnFunction · 0.45
EvalMethod · 0.45

Calls 3

SerializeMethod · 0.95
SerializeMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected