Yes,I know, so simple... but it didn't work for me as far I didn't set the 
"label" for the internal select.
I try it many times, but always without it; I didn't know it was mandatory.

Thank you.


 

> first_id_row = s.query(Row.id_row).\
>                         filter(Row.id_head == Head.id_head).\
>                         order_by(Row.id_row).\
>                         limit(1).label("first_id_row")
>

>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/sQWv1yGoC8gJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to