By accident I found out that the SQLAlchemy Function class has an
attribute 'packagenames'. If you set this attribute manually, the
query is executed properly.
It would be great if this attribute is filled automatically by
splitting the function name on every dot.
On May 6, 2010, at 7:47 AM, Tobias wrote:
By accident I found out that the SQLAlchemy Function class has an
attribute 'packagenames'. If you set this attribute manually, the
query is executed properly.
It would be great if this attribute is filled automatically by
splitting the function
Thanks for your reply!
I always thought that func.package.name(..) would be the same as calling
getattr(func, 'package.name')(..), but now I understand how the class
_FunctionGenerator works. :)
Because I only have the function name as string, I can't use the func.xy
construct. I am now manually