On Apr 20, 2010, at 7:32 PM, Michael Bayer wrote:

> 
> if you want MyClass.encrypted_id to be available in queries at the class 
> level, this would require a SQL function that does your "encryption".  See 
> examples/derived_attributes/ for some techniques on that.

correction, you'd probably want to implement a custom comparator for in-query 
functionality, i.e. at 
http://www.sqlalchemy.org/docs/mappers.html#custom-comparators .


-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en.

Reply via email to