Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Prisma `delete` a row with composite keys - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
meow
Prisma `delete` a row with composite keys
I
’m trying to
delete
delete
a single row in Prisma using composite keys
x
x
,
y
y
. Is it possible to write a query like
prisma.table.delete({ where: { x, y })
prisma.table.delete({ where: { x, y })
or do you have to use
deleteMany
deleteMany
, which presumably doesn
’t have a
limit 1
limit 1
?
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Question About Drizzle Composite Keys
TTC
Theo's Typesafe Cult / questions
3y ago
Prisma middleware delete
TTC
Theo's Typesafe Cult / questions
4y ago
error with this prisma delete request?
TTC
Theo's Typesafe Cult / questions
3y ago
Prisma - creating row with empty array fields
TTC
Theo's Typesafe Cult / questions
4y ago