Closed AnyhowStep closed 4 years ago
ComparableType seems pretty necessary for now. But EquatableType seems completely unnecessary.
ComparableType
EquatableType
I think that, on all databases, the equality operator should be defined for all data types. So, EquatableType seems pointless.
However, not all types are comparable. For example, on PostgreSQL,
SELECT point(1,2) < point(3,1);
Gives,
operator does not exist: point < point
ComparableType
seems pretty necessary for now. ButEquatableType
seems completely unnecessary.I think that, on all databases, the equality operator should be defined for all data types. So,
EquatableType
seems pointless.However, not all types are comparable. For example, on PostgreSQL,
Gives,