singlestoredb.connection.Cursor.scroll

abstract Cursor.scroll(value: int, mode: str = 'relative') None

Scroll the cursor to the position in the result set.

Parameters:
  • value (int) – Value of the positional move

  • mode (str) – Where to move the cursor from: ‘relative’ or ‘absolute’