group_by_column.clauses[0] is the object you passed to func.sum

On 2/27/07, vinjvinj <[EMAIL PROTECTED]> wrote:
>
> I have the following columns in some of my select columns:
>
> group_by_column = sqlalchemy.func.sum(column1)
>
> How do I get column1 from the group_by_column object (In other words
> is there any way to find out what columns the function is going to be
> applied to?). I did a dir(group_by_column) and saw that it had a field
> called columns, but that did not have the values I was looking for.
>
> Thanks,
>
> VJ
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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