nice find! note that once you have more than about 1000 rows in a table you'll need to have pagination turned on in smartgrid, else the request will time out.
On Friday, February 15, 2013 3:15:55 PM UTC-8, Luca wrote: > > Found: > > q = db.table > > seems to work. Aha! --Luca > > On Friday, February 15, 2013 3:03:34 PM UTC-8, Luca wrote: >> >> I need to form a SQLFORM.grid in Google Appengine that will select all >> rows. >> Normally, I would use something like: >> >> q = (db.table.id > 0) >> grid = SQLFORM.grid(q, ...) >> >> But in GAE, there are restrictions on inequality queries, so it seems >> silly to use an inequality to get all rows. >> >> Is there a better solution? >> >> Luca >> > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.