pub fn parse_constraint_detail_value(detail: Option<&str>) -> Option<String>Expand description
Extracts the conflicting value from a PostgreSQL constraint violation detail message.
PostgreSQL formats unique violation details as:
Key (column)=(value) already exists.
Returns None if the detail is missing or doesn’t match the expected format.