>
> you’d use a TypeDecorator for this.  See the example 
> http://docs.sqlalchemy.org/en/rel_0_9/core/types.html#coercing-encoded-strings-to-unicodefor
>  something similar (coerces to utf-8, just replace that with checking 
> for non-empty). 
>
>  Unfortunately that doesn't quite fit, i need a DDL level check (like the 
one Boolean generates on databases that dont support native booleans).

-- 
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 sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to