On Mon, Sep 13, 2010 at 3:39 PM, Gregg Lind <gregg.l...@gmail.com> wrote:
> So, there is a slight wart here:
>
> q = select(Partition(t1,'myt1'))
> q.append_column(Partition(t1,'myt1').c.data)
>
> will give:
>
> from myt1,myt1
>
> I think this is an artifact of the   'alias' heritage.  Ideas?

Don't instantiate Partition twice:


p = Partition(t1, 'myt1')
q = select(p)
q.append_column(p.c.data)


-- 
Jon

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@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