Hi,
is there any way to ask select object what is suppose to select? There
is a method locate_all_froms which return FROM part of select, but I'm
interesting in select part of SQL statement.

So, something like:

s = select([table1.c.a,table2.c.b]....)
listOfSelectedColumns = s.get_selectable_columns()

which will return set or list of [table1.c.a,table2.c.b].

Thanks,
Valentin.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to