Hi all.


I need to select some rows where pkey is in a sequence. How do I order by that very sequence?


images_all = session.query(AdImage).filter(AdImage.image_id.in_(images)).order_by( ? ).all()


Postgresql backend.


Thanks!

--

.oO V Oo.

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
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