MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / Identical

Method Identical

pkg/sql/types/types.go:2297–2299  ·  view source on GitHub ↗

Identical returns true if every field in this ColumnType is exactly the same as every corresponding field in the given ColumnType. Identical performs a deep comparison, traversing any Tuple or Array contents. NOTE: Consider whether the desired semantics really require identical types, or if Equival

(other *T)

Source from the content-addressed store, hash-verified

2295// NOTE: Consider whether the desired semantics really require identical types,
2296// or if Equivalent is the right method to call instead.
2297func (t *T) Identical(other *T) bool {
2298 return t.InternalType.Identical(&other.InternalType)
2299}
2300
2301// Equal is for use in generated protocol buffer code only.
2302func (t *T) Equal(other *T) bool {

Callers 9

EqualMethod · 0.95
IsWildcardTypeMethod · 0.95
IsPolymorphicTypeMethod · 0.95
IsPseudoTypeMethod · 0.95
IdenticalMethod · 0.45
ReplaceColMethod · 0.45
ResetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected