Prev implements the Datum interface.
(ctx *EvalContext)
| 3642 | |
| 3643 | // Prev implements the Datum interface. |
| 3644 | func (d *DOid) Prev(ctx *EvalContext) (Datum, bool) { |
| 3645 | prev, ok := d.DInt.Prev(ctx) |
| 3646 | return &DOid{*prev.(*DInt), d.semanticType, ""}, ok |
| 3647 | } |
| 3648 | |
| 3649 | // ResolvedType implements the Datum interface. |
| 3650 | func (d *DOid) ResolvedType() *types.T { |