def limitsSql(pageToken=0, pageSize=None):
    if pageToken is None:
        pageToken = 0
    if pageSize is not None or pageToken > 0:
        start = int(pageToken)
        end = start + int(pageSize)
        return " LIMIT {}, {}".format(start, end)
    else:
        return ""
Takes parsed pagination data, spits out equivalent SQL 'limit' statement.
dataset/ETHPy150Open ga4gh/server/ga4gh/sqliteBackend.py/limitsSql