Is it just me ? db(query).count(cache=(cache.ram, 60))
Won't work... I get : TypeError: count() got an unexpected keyword argument 'cache' Richard On Thu, Feb 9, 2012 at 9:44 AM, Anthony <abasta...@gmail.com> wrote: > I can think of two ways to do it, but I don't like either one. First >> is to formulate the query without the limitby clause and do a >> db(query).count(). That would give me the total number of records in >> the set. Then add the limitby clause to the query to get the records >> of interest. > > > FYI, I think this is how SQLFORM.grid does it. > > Anthony >