i've read the documentation and stil couldn't figure out. however after a few more hours of googling i found that there is a way to do this:
BudgetTreeNode.table.update(BudgetTreeNode.c.id.in_ (1,2,3,4,5,43,66)).execute(value=100) but if i try to set value=value+1 it complains that value is undefined (obviously) any clues? On 23 דצמבר, 18:36, Felix Schwarz <[email protected]> wrote: > Diez B. Roggisch schrieb: > > > Right out of my head, and untested: > > > btn = BudgetTreeNode > > q = btn.update().where( > > btn.id in id_list) # very unsure about this > > .values({btn.value: btn.value + 100}) > > probably something like 'btn.id.in_(id_list)'. > > fs > > smime.p7s > 4Kהצגהורדה --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

