I have several domains based on type TEXT to constrain values in specific 
ways, such as to disallow empty values or only allow valid email addresses. 
When I reflect tables with columns of such a domain, SQLAlchemy simply 
considers their types to be TEXT. Is there any way to make the domains 
known to SQLAlchemy so that it can treat them as distinct types? My goal is 
to define a new table with nearly identical structure to an existing one, 
adding some columns in the process. I looked over 
"Custom Types" in the manual but I wasn't sure where to start. Would I be 
creating an entirely new type or augmenting an existing one?

-- 
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 https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to