[sqlalchemy] Custom compiler for column is ignored when using aliases

2010-05-10 Thread Tobias
Hi, I am currently working on adding support for Oracle to GeoAlchemy and Oracle has some methods [1] that (somehow) are only recognized when a table alias is used. The function aliased [2] seemed to work perfectly, but then I realized that the compiler extension for my custom column is not

Re: [sqlalchemy] Custom compiler for column is ignored when using aliases

2010-05-10 Thread Michael Bayer
creating an alias() or otherwise using the .c. collection of any selectable that's derived from another selectable (as when you say select([sometable]).c.somecolumn) means that the Column objects are actually copies of the original column objects. This copying procedure is performed by