hi, I'm using sqlalchemy 0.7.3 and postgresql 9 with psycopg2 and python
2.7.


When I put wrong type of data(ex: 'some string' into Integer field), I get
DataError exception in commit phase.

This is so expected result, but i think it would be great to get more
specific data which can tell model's field name that causes an exception.

I looked up DataError's field such as 'orig', 'params', 'statement', but i
could not figure it out with this.

How can i achieve this ?


Regards,

Tate

-- 
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 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to