Re: [web2py] Fetch next record in database

2013-11-22 Thread Vinicius Assef
record = db(db.my_table.id>last_read_id).select(orderby=db.my_table.id, limit=(0,1)) On Fri, Nov 22, 2013 at 7:03 AM, Ruud Schroen wrote: > Hi, > > I have a swipe-slider with 4 database records in them. When you swipe to the > left and reach the end of the slider, there will be inserted more cont

[web2py] Fetch next record in database

2013-11-22 Thread Ruud Schroen
Hi, I have a swipe-slider with 4 database records in them. When you swipe to the left and reach the end of the slider, there will be inserted more content via AJAX (like a pull to refresh). When I try to GET the data, the controller takes the ID of the last slide given by args. Now i want the