I don't find the way to seek in a sqlite3_stmt
.
I have an input view to let user input and execute SQL, but maybe the result has a huge amounts of records. I just want to display a piece of the result.
E.g.: I have 20000 rows in stmt. But I want to display the first 2000 rows (0-2000). When the user clicks the next button, I want to display the second 2000 rows (2000-4000). When the user click the previous button, I want the display to rewind. So I want seek in the stmt. But I cannot find some SQLite3 function to seek the stmt.
I use the C/C++ interface.