Ouch! Yes there is a typo, should be db(db.product.id>10).update(price=db.product.price+20)
Massimo On Jun 3, 7:41 am, notabene <[email protected]> wrote: > Page 84: > Example: > db(db.product.id>10).update(product=db.product.price+20) > > Should be (????): > db(db.product.id>10).update(db.product.price=db.product.price+20) > > On Jun 3, 5:52 am, mdipierro <[email protected]> wrote: > > >http://www.web2py.com/examples/static/cookbook2.pdf --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

