Specify Number of Records to Fetch

Hello, I’m trying to reproduce what the following would do in SQL:

SELECT * from MY_TABLE
LIMIT 10 OFFSET 10

How should I go about doing that? I’m using runInlineQuery from the sdk.

Background: I’m trying to implement infinite scrolling in a custom viz. I see there is an option
to set the limit of records fetched, but it only allows an integer value.

0 1 169