manipulating and holding onto RowProxy objects is a little
squirrely. you probably want to convert them to dicts first:
r = t.select().execute()
for row in r:
print dict(row)
On Aug 19, 2007, at 12:59 PM, Brendan Arnold wrote:
>
> hi there,
>
> i'm treating the row objects like dictionaries and i'd like to 'tag'
> an extra key/value pair on each entry. i have experimented with the
> __setattr__ function but this doesn't seem to be bulletproof, is there
> a way to do this?
>
> brendan
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---