Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 5927 | |
| 5928 | // Format implements the NodeFormatter interface. |
| 5929 | func (d *DOidWrapper) Format(ctx *FmtCtx) { |
| 5930 | if d.Oid == oid.T_refcursor { |
| 5931 | wrapped := MustBeDString(d.Wrapped) |
| 5932 | wrapped.Format(ctx) |
| 5933 | return |
| 5934 | } |
| 5935 | ctx.FormatNode(d.Wrapped) |
| 5936 | } |
| 5937 | |
| 5938 | // Size implements the Datum interface. |
| 5939 | func (d *DOidWrapper) Size() uintptr { |
nothing calls this directly
no test coverage detected