Am 18.11.2011 08:18, schrieb raulna:
i need save results in a python object from multiples querys, like:

for user in users:
                     phones = DBSession.query(Phone).filter('...
    <<<<          python_object = python_object + phones   ?????>>>>>

How can i append this results in unique object?

phones = DBSession.query(Phone).filter('...').one()
python_object.phones = phones
cars = DBSession.query(Phone).filter('...').one()
python_object.cars = cars
...

-- Christoph

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