Seems like a simple thing to do but I can't seem to find an example.  Say I 
have a simple column_property like the example in the docs:

fullname = column_property(firstname + " " + lastname)


and I want to perform additional (trivial in this example) processing on 
the result at the orm level like for instance:
class FullNameWithTitle(TypeDecorator):
    impl = Text

    def process_result_value(self, value, dialect):
        return "Mr. " + value


Is there a simple way to specify the FullNameWithTitle type for the 
fullname column_property?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to