tgriesser/knex — pull request #446 by vschoettke (2014-08-28 12:03:44+00:00)
Title: Fixed offset without limit for mysql and sqlite3

SQLite3 and MySQL do not support offset without limit. So I implemented the recommended workaround (See URLs in the source)

MySQL:
>To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the second parameter. This statement retrieves all rows from the 96th row to the last:

>SELECT * FROM tbl LIMIT 95,18446744073709551615;

SQLite3:
>If the LIMIT expression evaluates to a negative value, then there is no upper bound on the number of rows returned.