2
0

Introduce PlanEncode

This commit is contained in:
Jack Christensen
2022-01-05 08:59:21 -06:00
parent ac80fa5b33
commit dcaf102f8e
9 changed files with 388 additions and 179 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ func (eqb *extendedQueryBuilder) encodeExtendedParamValue(ci *pgtype.ConnInfo, o
}
return eqb.encodeExtendedParamValue(ci, oid, formatCode, value)
} else if dt.Codec != nil {
buf, err := dt.Codec.Encode(ci, oid, formatCode, arg, eqb.paramValueBytes)
buf, err := ci.Encode(oid, formatCode, arg, eqb.paramValueBytes)
if err != nil {
return nil, err
}