I use Elixir and this is what I do currently.  I welcome correction if
there is a better, more efficient, more elegant way.

x = DbClass.query.filter_by(entity=value).first()
x.entity_2 = value_2

And the system takes care of the rest.  (no update, flush, or save
explicitly needed)

Take care,
Jason

On Feb 21, 9:17 pm, hoboro <[EMAIL PROTECTED]> wrote:
> Is there a similar update statement to update a record just like we
> can select a particular record
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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