You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That DataError comes from asyncpg, not from postgres itself and is the result of invalid input representation of a data type. Short of parsing the input query, we cannot say that the input was actually destined to a specific column in an INSERT statement.
Hi,
Is there any way to access/populate the
DataError
properties (eg.column_name
) as for other exceptions (eg.NotNullViolationError
) ?Here is a quick script to demonstrate my point:
Thanks! :)
The text was updated successfully, but these errors were encountered: