b0ngl0rd
PPrisma
•Created by b0ngl0rd on 10/17/2024 in #help-and-questions
Argument `where` of type *WhereUniqueInput needs at least one of `id` arguments.
No TS or linting warnings, and yet I am running into a problem with a simple update query.
Relevant query:
Log of input provided to query before calling it:
Log of error:
Even inside the error thrown, it is apparent that an id is indeed being passed. I'm not sure where to go from here, it seems very simple so maybe I'm missing something?
12 replies
PPrisma
•Created by b0ngl0rd on 8/17/2024 in #help-and-questions
Implicit many-to-many problems
and I have this piece of code:
Which throws this prisma error:
Everything is fully typed out by the TS language server with no warnings or errors. I also double-checked my seed outputs, as well as my migrations:
I'm just trying to seed my database to develop against, and for some reason this is the only relational query that has truly stumped me as I have nothing to go on at this point after combing through the docs and double-checking my work. I'm looking for any hint to get past this, thanks in advance for your time.
4 replies