Hi Michael,

On 12/06/2013 17:40, Michael Bayer wrote:
...
Will give me the column value of "Container_LV.name", I tried using 
"with_labels" but it doesn't seem to affect the __dict__ keys.

When I look at:
row.keys()
['id', 'name', 'name']

This is with SA 0.8.1.

in that situation you need individual labels:

s.query(A.id, B.name, C.name.label("c_name"), ...)

Great, thanks for the quick reply
Werner

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to