FormatValue implements the types.ExtendedType interface. Callers with a session context should use FormatValueWithContext instead, since types whose output reads session state cannot resolve through a nil context.
(val any)
| 576 | // types whose output reads session state cannot resolve through a nil |
| 577 | // context. |
| 578 | func (t *DoltgresType) FormatValue(val any) (string, error) { |
| 579 | return t.FormatValueWithContext(nil, val) |
| 580 | } |
| 581 | |
| 582 | // FormatValueWithContext returns the postgres output representation of |
| 583 | // |val|, using |ctx| for any session-scoped state the type's output |
no test coverage detected