offset not working , want to do paging
Posted
by
Rahul Mehta
on Stack Overflow
See other posts from Stack Overflow
or by Rahul Mehta
Published on 2011-01-07T07:17:24Z
Indexed on
2011/01/07
7:53 UTC
Read the original article
Hit count: 204
Hi,
i have tried offset in simpledb but its not working as it working in mysql , and i want to do paging for my database api in php so that i send the pagenumber and pagelength to the query and it will return the data of that page only. How this i can do in simpledb.
select * from second
where time_stamp is not null and gibid = '54' and gibview = 'O'
order by time_stamp asc limit $pagelength
as offset is not working so i can't add offset in query. I have google and find there is next token is returned but i am not getting nexttoken. how to check for nexttoken.
Please help .
Thanks
© Stack Overflow or respective owner