FrameBoundary.groups constructor

const FrameBoundary.groups({
  1. int? start,
  2. int? end = 0,
  3. FrameExclude? exclude,
})

Constructs a GROUPS frame with the given start and end boundaries.

A GROUPS frame operates on groups of rows that share the same values in the ORDER BY columns. The start and end parameter specifies how many groups before and/or after the current row's group should be included.

Note that GROUPS Frame Type is only available from sqlite 3.28.0, released on 2019-04-16. Most devices will use an older sqlite version.

If null, the boundary is unbounded.

Negative value indicates a preceding boundary

Positive value indicates a following boundary

Zero indicates the current row

Implementation

const FrameBoundary.groups({
  int? start,
  int? end = 0,
  FrameExclude? exclude,
}) : this._(start, end, _FrameType.groups, exclude: exclude);