the literal('c') compiles into a bind parameter, which is not able to
export itself as a column on its enclosing selectable, so thats
that error (i might want to look into adding a better error for that
one, had never seen it before). you want to use a newer function
literal_column(c).
isn't polymorphic_union( { 'a': select..., 'b': select... }, 'kind' )
working in your case?
On Wednesday 21 March 2007 21:37:47 Toshio Kuratomi wrote:
Hi guys.
I'm using sqlalchemy with TurboGears. The code for my project is
GPL, so if you need access to more source just let me know:
I
On Wed, 2007-03-21 at 16:11 -0400, Michael Bayer wrote:
the literal('c') compiles into a bind parameter, which is not able to
export itself as a column on its enclosing selectable, so thats
that error (i might want to look into adding a better error for that
one, had never seen it