Investigate possibility of Window.hasPrevious()
#2795
Labels
type: enhancement
A general enhancement
Window.hasPrevious()
#2795
For scrolling across results, we already provide a
hasNext
indicator. It would be good to have ahasPrevious
state as well.For offset-based scrolling, we can get the information from the offset (e.g. a scroll that starts at offset 1 will not have a previous page). For keyset-scrolling, we would need to read from the current cursor and read another item more (two more in total) to determine a previous and next indicator).
The text was updated successfully, but these errors were encountered: