-
Apologies if this is the docs and I've missed it or whether this warrants a ticket instead, I'm trying to use UpsertOne for a schema with a composite key and get a too many arguments error. For instance, I want to call upsert one for the schema below enum HostingPlatform {
pA
pB
unknown
}
model TestPlatform {
platformId String
name String
url String
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime @default(now()) @updatedAt @map("updated_at")
platform HostingPlatform
@@id(name: "testId", [platform, platformId])
@@map("repository_organizations")
} |
Beta Was this translation helpful? Give feedback.
Answered by
steebchen
Sep 1, 2023
Replies: 2 comments 10 replies
-
Likewise - using |
Beta Was this translation helpful? Give feedback.
10 replies
-
This was actually a bug and is tracked via #963 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
steebchen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was actually a bug and is tracked via #963