Can i use numberics with prisma enums?
# orm-help
h
Can i use numberics with prisma enums?
r
Do you mean numbers directly?
h
Well i use that enum for taking external input via a rest api.
So selecting the correct value based on a number provided.
r
Currently only text values are supported in enums, so a workaround would be to map the number to the text enum field.