Join Slack
Powered by
Does anyone know how to define a multi-column inde...
# ktor
r
Richie Bresnan
04/19/2024, 4:15 PM
Does anyone know how to define a multi-column index in Exposed, where one the columns is nullable, and the nulls are not treated as distinct.
This equivalent in PG SQL:
Copy code
create unique index on mytable(col, nullableCol) nulls not distinct;
a
AdamW
04/19/2024, 4:54 PM
#exposed
👍 1
r
Richie Bresnan
04/19/2024, 5:43 PM
ugh damn 🤦
6
Views
Open in Slack
Previous
Next