Hi,

Am Montag, 15. August 2016 15:32:35 UTC+2 schrieb Mike Bayer:
>
>
> nothing is string-compiled at that point, everything is just nested 
> inside.  the Exists() should have something like "element" inside of it 
> (look in its __dict__) that is the underlying Selectable. 
>
>
>
.element is a FromGrouping, probably because it's "EXISTS (SELECT 1 …)". 
The FromGrouping again has a .element, and a .get_children(). 
get_children() returns a tuple with one Select object, which I guess is the 
nested SELECT statement, but that unfortunately does not have a 
.whereclause attribute like the initial Query object.

How do I get to the WHERE clause of the nested SELECT statement?

-nik 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to