MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / ArgsWithRowOffset

Method ArgsWithRowOffset

pkg/sql/sem/tree/window_funcs.go:507–509  ·  view source on GitHub ↗

ArgsWithRowOffset returns the argument set at the given offset in the window frame.

(ctx context.Context, offset int)

Source from the content-addressed store, hash-verified

505
506// ArgsWithRowOffset returns the argument set at the given offset in the window frame.
507func (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.
512func (wfr *WindowFrameRun) ArgsByRowIdx(ctx context.Context, idx int) (Datums, error) {

Callers 1

ArgsMethod · 0.95

Calls 1

ArgsByRowIdxMethod · 0.95

Tested by

no test coverage detected