SerializationCompatible implements the val.TupleTypeHandler interface.
(other val.TupleTypeHandler)
| 1142 | |
| 1143 | // SerializationCompatible implements the val.TupleTypeHandler interface. |
| 1144 | func (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. |
| 1150 | func (t *DoltgresType) CallSend(ctx *sql.Context, val any) ([]byte, error) { |