Changes between Initial Version and Version 1 of Ticket #34701
- Timestamp:
- Jul 7, 2023, 6:43:23 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34701 – Description
initial v1 3 3 While most backends default to implicit `NULLS DISTINCT` some backends don't, most notably SQL Server (cff59bedc23fd4d53557f677ddc42402b56963d0). 4 4 5 I suggest we add a `nulls_distinct: 5 I suggest we add a `nulls_distinct:Optional[bool]=None` option to `UniqueConstraint` so it preserves it's ''default to backend treatment of nulls'' behaviour while allowing it to be set explicitly on backends that support it. 6 6 7 7 - [https://modern-sql.com/caniuse/unique-nulls-not-distinct Article on the subject]