Matt Mueller
Matt Mueller
Hi @efhan-the-unorthodox, can you share the schema and query you were running that triggered this panic?
Hey @henullcom , can you share a small sample or fake data? That would help us understand if this is intentional or unexpected.
Thanks @ctrlplusb for raising this issue. I can definitely see the value in this. I think the reason we don't support this yet is because Postgres is the only database...
**Problem** Currently we only support ```groovy enum Color { Red Teal } ``` These enums are represented as integers. Occasionally you'd like to store a custom value in the database....
Closing until we have a clearer use case for this feature.
Alternative approach to union types in Rails world: https://github.com/rails/rails/pull/39341/files#diff-9aa331e58766cbbcd7fac37f75ee07b3R6
Hey @olliechick, if license plates are scoped to country, then you can use a [composite unique](https://www.prisma.io/docs/concepts/components/prisma-schema/data-model#defining-attributes) and then use upsert. I've created an issue for cases where that's not possible:...
Hmm, I wasn't able to reproduce this either as a compiler error or a runtime error: ```ts const results = await prisma.test.findFirst({ where: { testId: { mode: "insensitive" } }...
Deciding to close this one to cleanup my open PRs view a bit. If someone needs this feel free to use this PR as a base!