On Feb 12, 2014, at 6:11 PM, Amos Smith <[email protected]> wrote:

> Regarding the following:
>> if the type of the LiteralBindParameter implements “literal_processor()”, 
>> that controls how the literal value is rendered into the statement. 
> 
> How does one implement the "literal_processor()" for a new type?  Is 
> literal_processor() method applicable for UserDefinedTypes?

the method is literal_processor: 
http://docs.sqlalchemy.org/en/rel_0_9/core/types.html#sqlalchemy.types.TypeEngine.literal_processor
  

its new as of 0.9 and applies to any type, including UserDefinedType.  If you 
don’t see it taking effect, that’s a bug.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to