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

Method SerializationCompatible

server/types/type.go:1144–1147  ·  view source on GitHub ↗

SerializationCompatible implements the val.TupleTypeHandler interface.

(other val.TupleTypeHandler)

Source from the content-addressed store, hash-verified

1142
1143// SerializationCompatible implements the val.TupleTypeHandler interface.
1144func (t *DoltgresType) SerializationCompatible(other val.TupleTypeHandler) bool {
1145 ot, ok := other.(*DoltgresType)
1146 return ok && t.Equals(ot)
1147}
1148
1149// CallSend is a way to call the `send` function for this type.
1150func (t *DoltgresType) CallSend(ctx *sql.Context, val any) ([]byte, error) {

Callers

nothing calls this directly

Calls 1

EqualsMethod · 0.95

Tested by

no test coverage detected