deserializeTypeArray handles deserialization from the Dolt serialized format to our standard representation used by expressions and nodes.
(ctx *sql.Context, t *DoltgresType, data []byte)
| 90 | // deserializeTypeArray handles deserialization from the Dolt serialized format to our standard representation used by |
| 91 | // expressions and nodes. |
| 92 | func deserializeTypeArray(ctx *sql.Context, t *DoltgresType, data []byte) (any, error) { |
| 93 | return deserializeArray(ctx, data, t.ArrayBaseType()) |
| 94 | } |
| 95 | |
| 96 | // deserializeArray serializes an array of given base type. |
| 97 | func serializeArray(ctx *sql.Context, vals []any, baseType *DoltgresType) ([]byte, error) { |
nothing calls this directly
no test coverage detected