ArgsWithRowOffset returns the argument set at the given offset in the window frame.
(ctx context.Context, offset int)
| 505 | |
| 506 | // ArgsWithRowOffset returns the argument set at the given offset in the window frame. |
| 507 | func (wfr *WindowFrameRun) ArgsWithRowOffset(ctx context.Context, offset int) (Datums, error) { |
| 508 | return wfr.ArgsByRowIdx(ctx, wfr.RowIdx+offset) |
| 509 | } |
| 510 | |
| 511 | // ArgsByRowIdx returns the argument set of the row at idx. |
| 512 | func (wfr *WindowFrameRun) ArgsByRowIdx(ctx context.Context, idx int) (Datums, error) { |