issue with list of strings #2677
-
I'm trying to store a list of strings (that happen to be UUID's) in a Postgres database with prisma. I really just want to treat them like strings in this case. The problem is when I try and update the list I get:
I'm not sure how to tell prisma to just treat these as strings? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @chrisdrackett 👋 value.toString() So that it is stored as a pure string and not a UUID. Let me know if that works for you. If not, I would need your schema and query that you are performing to save these UUID strings to replicate. |
Beta Was this translation helpful? Give feedback.
@chrisdrackett I can reproduce this. Which is why I have created an issue here: #2784