Sorry, I should have looked at the source first. sql.text(string) should fix it.
On Dec 7, 5:22 pm, Kalium <raymond.ma...@gmail.com> wrote: > Hi, > > It seems that although would work fine in place of a ClauseElement > when passed to filter(), but not so when passed to the onclause > parameter of join() ? > > There doesn't seem to be anything in the ClauseElement class that will > convert a string to something of type ClauseElement. Have I missed > anything? Any workarounds ? > > Cheers -- 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.