How do I create a cursor and use it in my iphone application?
I am getting 10000+ records using select * from tablename.
But I don’t want to load all the records at a time… I know that we can use cursor for this.
I am not able to find any samples related to it.. can any body give any link or sample which explains how to use cursor in sqlite?
I got the solution :
the sql query is
using
we will get the result into selectstmt.
now when ever we want to fetch the row we will call the method
, it will return the next row each time when we call.