speaking without reading the docs.....so i might be misguided..... assuming that you can setup a grid with a rows object, you can use that patch. just & the rows together and magic will happen.
the key no matter what is to setup multiple queries on GAE and & the results together, or re-imagine the dataset so there is less than 30 items in the belongs (which is sometimes impossible). good luck! cfh On Sunday, April 7, 2013 2:13:35 PM UTC-7, Marcin Jaworski wrote: > > Hi web2py users! > > My environment: GAE SDK 1.7.5, web2py version 2.0.9. > > I need a query object as an argument for grid. > I've got a database rows (ids) as the potential base for query > (list_of_ids) - unfortunately there are more than 30 of them so the > construct with 'belongs' does not work on GAE: > > query = db.field.id.belongs(list_of_ids) # does not work on GAE > > There is a great solution to overcome the limit of 'belongs' on GAE: > https://code.google.com/p/web2py/issues/detail?id=160 > but it let me identify just rows, when the query object for grid is needed > in my case. > > Can you advise? > Marcin Jaworski > > > > -- --- 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.