github.com/jackc/pgx/v5/pgtype.JSONCodec.PlanEncode (method, view implemented interface methods)
4 uses
github.com/jackc/pgx/v5/pgtype (current package)
json.go#L24: func (c *JSONCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
json.go#L62: if nextPlan := c.PlanEncode(m, oid, format, nextValue); nextPlan != nil {
jsonb.go#L24: plan := (&JSONCodec{Marshal: c.Marshal, Unmarshal: c.Unmarshal}).PlanEncode(m, oid, TextFormatCode, value)
jsonb.go#L29: return (&JSONCodec{Marshal: c.Marshal, Unmarshal: c.Unmarshal}).PlanEncode(m, oid, format, value)