I have used both syntaxes. I have no strong preferences.
On Jul 28, 11:02 am, pbreit <pbreitenb...@gmail.com> wrote: > What was the final answer on creating compound queries like this: > > db(db.requests.product==db.products.id)(db.products.id==3).select() > > Is that acceptable or advisable? Or is the & way preferred? The & way has > the benefit of being splittable across lines? > > Also, I think Field('product', db.product) is pretty common, at least in > web2p (vs Field('product_id', db.product)).