Is there any more thorough documentation on Connec...
# orm-help
a
Is there any more thorough documentation on ConnectOrCreate? Very new to Prisma and relatively new to JS and I'm having trouble.
r
Hey @Alex Reyne 👋 Here’s an example. Does this help?
a
It definitely gives me a bit more info than I had before
Where is the "where" portion actually checking?
So for example I have a column, raider_id in Characters table, which is linked to id in Raiders table
Am I supposed to be searching Raiders or Characters?
r
If you’re querying via
prisma.character.update
where
would check for the Raiders
a
Does that work the same if I am creating rather than updating?
r
Yes it will
a
That helped me out, got it working - thank you!
💯 2