On 05/10/10 11:32, Kosu wrote:
> Maybe this will helps:
> http://www.sqlalchemy.org/docs/reference/dialects/postgresql.html#indexes
>   


Thanks, but those are partial indexes, I need index on expression. Seems
like there really is no way, I asked on IRC. Until I find a better way,
I made model class method that I call from websetup.py, right after
metadata.create_all(), supplying raw SQL via session. Works for now, and
the logic is contained within the model.


Vlad

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to