luca72 ha scritto:
> I made some change:
> b = Db.selectBy(nome='pippo')
> Db.verifica='v'
> return dict(b=b), and i see that the value of verifica is "v", but
> when i check th db the value is not changed why?
>
> Luca
>   
try this:

b = Db.selectBy(nome='pippo')
# if b is a pkey then use dB.get instead or b can be a list of records.
for x in b:
        x.verifica='v'
        x.flush() (or save ) 


Glauco

-- 
+------------------------------------------------------------+
 Glauco Uri  
 glauco(at)sferacarta.com 
                               
          Sfera Carta Software®       info(at)sferacarta.com
  Via Bazzanese,69  Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to