On Oct 2, 2007, at 7:56 AM, [EMAIL PROTECTED] wrote:

>
> Hi Michael, sorry about the lack of information; I wasn't clear on
> what you were looking for.
>
> The failing constraint is a customer one for email addresses:
>
> CREATE DOMAIN base.email as TEXT CHECK
>         (VALUE ~ '[EMAIL PROTECTED](\\.[-\\w]+)*\\.\\w{2,4}$');
>

oh.  also, you should not save() the object which represents this  
insert (or at least perform any additional queries) until its fields  
are fully assembled.  since you are using autoflush=True, the  
contents of the session will be flushed automatically before every  
query.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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