It is working fine.
I have problem with this that every time it is retrieving all records
satisfying the where condition.
I don't want like that. It should fetch only three records from the
database.
How should I do that?
Hi Sandip,
I think it will not solve my problem. It will again find all record and
do paginate onto it. I don't think so it will add any limit on the
retrieval of records depending on the page.
Any ways thanks for your quick reply.
Thanks,
Tushar
Hi Sandip,
I think it will not solve my problem. It will again find all record and
do paginate onto it. I don't think so it will add any limit on the
retrieval of records depending on the page.
Any ways thanks for your quick reply.
Thanks,
Tushar
It's because you are doing a find and then paginating the resulting
array. You should be doing something like