Join Slack
Powered by
any way to define a `@@unique(...)` with a `COALES...
# orm-help
m
Mischa
05/17/2022, 2:53 AM
any way to define a
@@unique(...)
with a
COALESCE(field, 'value-if-null')
field? (like on this -
https://stackoverflow.com/a/8289327/4167590
)
n
Nurul
05/25/2022, 12:20 PM
I don’t think this version of
@@unique
is supported natively in the schema file yet.
7
Views
Open in Slack
Previous
Next