Prev implements the Datum interface.
(ctx context.Context, cmpCtx CompareContext)
| 746 | |
| 747 | // Prev implements the Datum interface. |
| 748 | func (d *DInt) Prev(ctx context.Context, cmpCtx CompareContext) (Datum, bool) { |
| 749 | return NewDInt(*d - 1), true |
| 750 | } |
| 751 | |
| 752 | // Next implements the Datum interface. |
| 753 | func (d *DInt) Next(ctx context.Context, cmpCtx CompareContext) (Datum, bool) { |